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!

If Any Fields Is Null Return No...

Status
Not open for further replies.

Ryath

Technical User
Feb 24, 2002
84
GB
Hi all,

At the moment i have several fields in my table which contain data but no longer used. To reduce the number of combo boxes, check boxes etcetc on my form i've tried to create a unbound tick box saying that if the certain record has data contained in these fields it would be checked. But with no avail. It simply would not allow me to create it!! wot am i doing wrong??

=IIF(Is Null([Field One] Or [Field Two]),No,Yes)

Can anyone help?

Thank You Will [hammer]
 
Try this:-

If IsNull([Field One]) Or IsNull([Field Two]) Then
[TickBoxName] = 1
End If
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top