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

Pass "Is Not Null" In parameter Query 1

Status
Not open for further replies.

cutestuff

Technical User
Sep 7, 2006
162
CA
What's the right syntax for the following:

Like IIf(IsNull([Forms]![frmDReport]![cboType]),"*",Is Not Null)

I can't get the "Is Not Null" portion to work. Basically, if the user does not select a type in the combo box i want it to display all but if they do not i want it to display everything that is not null in the field.

thanks in advance...
 
Like "*" OR [Forms]![frmDReport]![cboType] Is Null


Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top