Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

returns value 0 and 1 convert to yes or no 1

Status
Not open for further replies.

47redlands

Programmer
Mar 9, 2010
62
GB
I have a textbox on a form with an expression:

The expression is =DLookUp("[RestrictedView]","Seats","[SeatNumber]=[cboAvailableSeats]")

it returns the value 0 and 1 because feild RestrictedView in table Seats is Data Type Yes/No

How do I get it display Yes and No in the textbox of the form in Form View?

Thank you
 
you can set the format property of the field to yes/no true/false off/on
 
Thanks,

MajP where do I set the property on the textfeild?

Thank you in advance
 
I said that wrong. I meant to say you can set the format property of the Text Box. In the properties of the form under the "format" the property is "format".

However, you can also set the display property on the field under "format" in the table properties.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top