critera error in 2003 saying to complex

  • Thread starter Thread starter Leslie Porter OHV
  • Start date Start date
L

Leslie Porter OHV

here it is. i want to return all records if load # is null. or a specific
number that has been entered in to load #. where am i going wrong?

IIf(IsNull([ load # ]),Like "%"or is null ,([ Load # ]))
 
You want criteria like the following.
WHERE SomeField = [ Load# ] or [ Load# ] is Null

In the query grid (Design view) ienter
Criteria: [ Load# ] or [ Load# ] is Null

John Spencer
Access MVP 2002-2005, 2007-2008
The Hilltop Institute
University of Maryland Baltimore County
 
damn that was easy. its kinda like trying to as a french guy for a steak but
you only know the words hot dog or hamburger =]

thanks again man

John Spencer said:
You want criteria like the following.
WHERE SomeField = [ Load# ] or [ Load# ] is Null

In the query grid (Design view) ienter
Criteria: [ Load# ] or [ Load# ] is Null

John Spencer
Access MVP 2002-2005, 2007-2008
The Hilltop Institute
University of Maryland Baltimore County
here it is. i want to return all records if load # is null. or a specific
number that has been entered in to load #. where am i going wrong?

IIf(IsNull([ load # ]),Like "%"or is null ,([ Load # ]))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Is Null 2
Aggregate Function Error 0
Conditional + Wildcard in Critera? 4
Muliple Critera 1
Query to Complex with Criteria 1
4 #Error Lines in a Query 2
iif Expression Error 6
return a null value to date field 2

Back
Top