Hello There,
I have been asking myself this question for quite some time and am curious about your experiences:
When Filtering for records based on multiple tables, I found it easy and fast to use a series of update queries.
For example, I have a table of employees and another table with Departments.
If I want to return emplyees in a specific department, I run an update query that marks a Bolean field in the Employees table to false for all employess not belonging to the department entered.
On each additional critiria that I filter for, I use the same logic (i.e. records that do not match my variables are marked as false)
In my result only records marked as True are displayed.
I find this a convenient solution, as all my action queries can be created in vba, which makes my databases easier to manage. This solution also seems to be faster than writing complex select queries.
---------
Is this a common solution?
What do you believe to be the best way to perform complex queries in a filter by form setting?
Can't wait to hear your opinions....
Regards,
Flo79
I have been asking myself this question for quite some time and am curious about your experiences:
When Filtering for records based on multiple tables, I found it easy and fast to use a series of update queries.
For example, I have a table of employees and another table with Departments.
If I want to return emplyees in a specific department, I run an update query that marks a Bolean field in the Employees table to false for all employess not belonging to the department entered.
On each additional critiria that I filter for, I use the same logic (i.e. records that do not match my variables are marked as false)
In my result only records marked as True are displayed.
I find this a convenient solution, as all my action queries can be created in vba, which makes my databases easier to manage. This solution also seems to be faster than writing complex select queries.
---------
Is this a common solution?
What do you believe to be the best way to perform complex queries in a filter by form setting?
Can't wait to hear your opinions....
Regards,
Flo79