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

I have the query depending on data 1

Status
Not open for further replies.

punky

Programmer
Mar 21, 2001
29
US
I have the query depending on data from a form.
ie:
1. field on form = strSuffix
criteria in query: strssuffix = [forms]![myform]![strsuffix]

2. field on form = street
criteria in query: street = [forms]![myform]![street]

There are null values in some of the street data and I
want the query to pull street if it matches the street on
the form or if it is null. I have tried putting = null
on the second line of the criteria(underneath the criteria which is = [forms]![myform]![street].
THe nulls are killing the query. How can null be handles for different situations?
 
in the criteria just add "or isnull"

HTH

PsychPt@Hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top