I'm trying to set up a 'find record' form, which will allow users to select from a range of criteria, and filter the results of a subform based on those criteria.
I'll try and explain a bit better...
I have four fields - department, staff, day, shift - all combo boxes. Users will need to be able to populate any or all of those fields to filter the underlying subform/query.
At the moment, I've set the subform filter to all of those combo boxes (ie, "Staff - tmpStaff AND Dept = tmpDept etc etc"). This of course is an all or nothing approach.
Is there a way to set up my form so that the user can select any one of those fields, and filter just on that field, building up to any combination of those fields.
Thanks for the help!!!
I'll try and explain a bit better...
I have four fields - department, staff, day, shift - all combo boxes. Users will need to be able to populate any or all of those fields to filter the underlying subform/query.
At the moment, I've set the subform filter to all of those combo boxes (ie, "Staff - tmpStaff AND Dept = tmpDept etc etc"). This of course is an all or nothing approach.
Is there a way to set up my form so that the user can select any one of those fields, and filter just on that field, building up to any combination of those fields.
Thanks for the help!!!