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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing a phone number to a "Y"

Status
Not open for further replies.

Ptrif

Technical User
May 19, 2003
106
0
0
US
I have a report that shows a name and a phone number. What i need to know is if there is a phone number I would like it to display a "Y" and if the field is blank and there is no phone number i would like it to display a "N". How would i go about doing this?

Any help is appreciated.


Thanks

Paul
 
Hi!

In the controlsource of the text box use this:

=IIf(IsNull([YourTelePhonField]) = True, "N", "Y")

hth


Jeff Bridgham
bridgham@purdue.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top