Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / October 2005

Tip: Looking for answers? Try searching our database.

report text box format

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
edhead - 26 Oct 2005 18:43 GMT
I have a text box in a report where the control source is field that
contains either a 1 or a 0. I am trying to setup the format of the text
box to display Fail for a 0 value and Pass for a 1 value but I can't
figure out the syntax for the format. Thanks in advance for any help!
Marshall Barton - 26 Oct 2005 19:27 GMT
>I have a text box in a report where the control source is field that
>contains either a 1 or a 0. I am trying to setup the format of the text
>box to display Fail for a 0 value and Pass for a 1 value but I can't
>figure out the syntax for the format. Thanks in advance for any help!

Try  this in the text box's Format property:

    "Pass";"Fail";"Zero";"Null"

   
Signature

Marsh
MVP [MS Access]

fredg - 26 Oct 2005 19:30 GMT
> I have a text box in a report where the control source is field that
> contains either a 1 or a 0. I am trying to setup the format of the text
> box to display Fail for a 0 value and Pass for a 1 value but I can't
> figure out the syntax for the format. Thanks in advance for any help!

Use an unbound control instead.
Set it's Control Source to:
=IIf([FieldName] = 1,"Pass","Fail")
Signature

Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.