bustersports
Programmer
All,
Thanks in advance for any assistance you may be able to give.
My scenario is this - A user will select charges they want to process based on 3 combo boxes. The results will be displayed in a subform. The user will then select from the subform a particular record they want to use against as the rate to apply. This all works fine, no issues. Where the problem lies is that the recordset maybe hundreds or thousands of records. I have an option box to allow them to filter one of 5 ways to narrow the results. What I need to be able to do is apply a filter (the filters could be applied in any order, i.e. 5, then 3, then 2), allow the user to select another filter that will filter the records used in the 1st pass filter, and so on until they have reached the record they are looking for. See example below.
1. User makes 3 combobox selections. Depending on selections, 1 of about 10 queries will run.
2. User decides they want to narrow the list (it is not always necessary to do so, as the original list may be short enough the use finds desired record immediately) by selecting option 5. Note: The filters are based on fields in the original dataset. Ex: Original dataset may have Service Code - DD, Time - 1700. The user may want to 1st narrow down to only Service Code of DD.
3. User determines they need to narrow it further, so they select option 3. This would then filter data from step 2 (option 5 selection). This could continue for up to 5 filters being applied to the original dataset.
I can only get it to do the first filter, any additional filters will filter the original dataset losing the filtering done by the previous filter.
So my questions are:
1. Can I give the user the ability to fine tune their filters to the level they are looking for without having to go to each individual field and apply a filter? I would like for them to just have to click a button. Using my example above, click Service Level button and it would filter down to Service Level without the user having to go to the field and do the filter thru the dropdown list.
2. If so, do the filter buttons have to be on the subform as the subform is a datasheet?
thread702-955623 - this was closest I could find in solving the problem, but still quite a ways off.
Again, thanks for your help.
Thanks in advance for any assistance you may be able to give.
My scenario is this - A user will select charges they want to process based on 3 combo boxes. The results will be displayed in a subform. The user will then select from the subform a particular record they want to use against as the rate to apply. This all works fine, no issues. Where the problem lies is that the recordset maybe hundreds or thousands of records. I have an option box to allow them to filter one of 5 ways to narrow the results. What I need to be able to do is apply a filter (the filters could be applied in any order, i.e. 5, then 3, then 2), allow the user to select another filter that will filter the records used in the 1st pass filter, and so on until they have reached the record they are looking for. See example below.
1. User makes 3 combobox selections. Depending on selections, 1 of about 10 queries will run.
2. User decides they want to narrow the list (it is not always necessary to do so, as the original list may be short enough the use finds desired record immediately) by selecting option 5. Note: The filters are based on fields in the original dataset. Ex: Original dataset may have Service Code - DD, Time - 1700. The user may want to 1st narrow down to only Service Code of DD.
3. User determines they need to narrow it further, so they select option 3. This would then filter data from step 2 (option 5 selection). This could continue for up to 5 filters being applied to the original dataset.
I can only get it to do the first filter, any additional filters will filter the original dataset losing the filtering done by the previous filter.
So my questions are:
1. Can I give the user the ability to fine tune their filters to the level they are looking for without having to go to each individual field and apply a filter? I would like for them to just have to click a button. Using my example above, click Service Level button and it would filter down to Service Level without the user having to go to the field and do the filter thru the dropdown list.
2. If so, do the filter buttons have to be on the subform as the subform is a datasheet?
thread702-955623 - this was closest I could find in solving the problem, but still quite a ways off.
Again, thanks for your help.