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!

filtering data in MS Access

Status
Not open for further replies.

chippyles

Technical User
Nov 10, 2004
49
US
I have two combo list fields (unbound) on the top of the page. I have a query that in the fields to look up they say [forms].[fQA_Raw_Materials].[Vendor] and .[Heat]

The problem I have is how do I deal with the combo lists when one is null and the other is selected?

Also, when both of the selections are null (when the form just opens) I return no data. Makes sense because the combo fields are null.

I need somthing to say iif null then ignore [forms].[fQA_Raw_Materials].[Vendor] and .[Heat]

Any thoughts??
 
Are they Combo Boxes or List Boxes as this makes a big difference.

If they are combo boxes, use this:

Like Nz([Forms].[fQA_Raw_Materials].[Vendor],"*")
Like Nz([Forms].[fQA_Raw_Materials].[Heat],"*")


I am what I am based on the decisions I have made.

DoubleD [bigcheeks]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top