A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

enter YES when text box empty



 
 
Thread Tools Display Modes
  #1  
Old December 5th, 2009, 08:29 PM posted to microsoft.public.access.reports
Norm
external usenet poster
 
Posts: 149
Default enter YES when text box empty

I want YES to show on the report when the text box linked to AS400 is empty
and NO when the box is populated, the report information is from a query
  #2  
Old December 6th, 2009, 12:04 AM posted to microsoft.public.access.reports
Al Campagna[_2_]
external usenet poster
 
Posts: 1,462
Default enter YES when text box empty

Norm,
Use the On Format event of the report section where the AS400
text control is located. (ex. OnFormat for DetailSection)
text box "linked" to AS400... I think you mean "named" AS400?

I'll assume by... AS400 "empty"... you mean Null.

Locate an unbound text control named AS400YesNo in that same section.
Set the ControlSource to...
=IIF(IsNull(AS400), "Yes","No")
--
hth
Al Campagna
Microsoft Access MVP
http://home.comcast.net/~cccsolutions/index.html

"Find a job that you love... and you'll never work a day in your life."




"Norm" wrote in message
...
I want YES to show on the report when the text box linked to AS400 is empty
and NO when the box is populated, the report information is from a query



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.