paulmcdonnell
Ready to Help
- Local time
- Today, 14:47
- Joined
- Apr 11, 2001
- Messages
- 167
Hi Guys,
What I need to do is filter a form by as many criteria as is required by the user. Ie I have 10 separate fields and I want to beable to set up a filtering process which filters by one field, two fields, three fields, upto 10 fields if required. Slowly filtering the data down adding condition after condition until in theory there are no records left.
I know how to do this with a query in basic terms but what is the best way to allow this when viewing forms. Can you lay sucessive filters ontop of each other if so, how do you set the code to say "filter using recordsource as result of previous filter"
Getting a bit confused with this one, but I'm sure that many people have done this before, say for example : filter by all those who live in london, then filtering those in london who work at a company, then filtering those in london who work at a company by which building they work in and so on.......
obvious by setting conditions in saved queries but how by user selection??
Bit long winded I know but any ideas..
THANKS GUYS
PAUL
What I need to do is filter a form by as many criteria as is required by the user. Ie I have 10 separate fields and I want to beable to set up a filtering process which filters by one field, two fields, three fields, upto 10 fields if required. Slowly filtering the data down adding condition after condition until in theory there are no records left.
I know how to do this with a query in basic terms but what is the best way to allow this when viewing forms. Can you lay sucessive filters ontop of each other if so, how do you set the code to say "filter using recordsource as result of previous filter"
Getting a bit confused with this one, but I'm sure that many people have done this before, say for example : filter by all those who live in london, then filtering those in london who work at a company, then filtering those in london who work at a company by which building they work in and so on.......
obvious by setting conditions in saved queries but how by user selection??
Bit long winded I know but any ideas..
THANKS GUYS
PAUL