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

IIf syntax for Null and Return All 1

Status
Not open for further replies.

southbean

Technical User
Jun 3, 2005
147
US

Hello All,

It seems simple enough but I can’t seem to get the syntax to work. This is what I’m trying to do:

I have a form with a text field in which a user can either leave blank or enter a number. This will be used in a query criteria. If left blank return all records. If populated, then return all greater than the value.

>[Forms]![frm_Parameters]![GreatThanAmt] Or Like “*”

This is a currency data type field in an Access 2007 database.

Thank in advance for Any/All suggestions!

- tl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top