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

Using IIf Statement for Empty Or Selected Data 1

Status
Not open for further replies.

awl

IS-IT--Management
Aug 2, 2001
136
US
My goal is to have the [Job#] field in my query to display the number 240 if the field [Job] is blank, OR if the number is 0. In my query I have the following formula which works for blank data entries. However, I can not get those [Job] fields with a 0 to be converted to the number 240. I have tried several other formulas for the second half but with no luck. Your help would be appreciated. Thank you. Curtis....

JOB#: IIf(IsNull([Job])=False,[Job],240)
 
Paul, thanks very much. I have other fields in the same query that this issue will apply. Thanks again. Curtis....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top