I have a query that I need to filter on 5 different field criteria. I can get this to nearly work, but it fails in one place.
The fields to query on are:
Customer, Post Code, County, Country, Account Manager
The customer field is required so can never be null, this filter works fine.
The Post Code field can be blank, as we have non-UK customers, this criteria does not work.
Code:
Like "*" & [Forms]![frmCustomerList]![txtPostCode] & "*" Or Is Null
I want the query to show all Customers, with or without a post code, but if a post code is input into the [txtPostCode], I want it to show only customers with this post code.
Can anyone suggest a better method?
I have a fully working version of the final list, but it is a query based on a sub query that is based on a sub query...... So, top level query is based on 5 sub queries all in all.
~Matt