Adding (All) to Combo Box

Natasha

Registered User.
Local time
Today, 17:36
Joined
Oct 31, 2001
Messages
10
I have a form in my DB which shows the following :

Date From(listbox), Date To(listbox), Country(combo), Area(combo).

Once data is selected in these fields, a report is run based on a query.

On occasions, I would like to run the report for all area's or all countries, so I have added (all) into the 2 combo boxes using a union query.

However, my limited understanding of Access has meant I've had to create multiple queries in case either/both/neither of the Combo's is All.
e.g.
Query 1 - Area <> All and Country <> All
Query 2 - Area = All and Country = All
Query 3 - Area = All and Country <> All
Query 4 - Area <> All and Country = All

Is this the correct way to do it, or is there a better way.

Please e-mail me if this isn't clear.

Thanks for any help you can give.

Natasha.
 
Thanks very much for your response Jack.

That now works a treat !

Natasha.
 

Users who are viewing this thread

Back
Top Bottom