cyberbob999
Technical User
For the life of me I cannot figure out how to filter a recordset dynamically based on a combobox value...
I have a form that uses a table (surveillances) as a source. My combobox is cboFilName. The field that I want to filter by is [performer]. If someone could please explain to me how to do this, I would be eternally grateful!
If I may be greedy, however, what I would ultimately like to do is have several comboboxes, each one that correlates to a field. And then, be able to narrow down my recordset by selecting multiple values to filter by (for example, [performer]=forms![edit_surv][cboFilName] and [date] = forms![edit_surv][cboFilDate] and etc...) where each combobox will have the approriate names as well as an "Any" option (*)...
ANY assistance would be appreciated...Thanks!
Oh, one more very basic question that I can't seem to figure out... I don't know what the "me" does in such items as me.filter or me.whatever. If you could briefly exlain that to me, I'd appreciate it!
I have a form that uses a table (surveillances) as a source. My combobox is cboFilName. The field that I want to filter by is [performer]. If someone could please explain to me how to do this, I would be eternally grateful!
If I may be greedy, however, what I would ultimately like to do is have several comboboxes, each one that correlates to a field. And then, be able to narrow down my recordset by selecting multiple values to filter by (for example, [performer]=forms![edit_surv][cboFilName] and [date] = forms![edit_surv][cboFilDate] and etc...) where each combobox will have the approriate names as well as an "Any" option (*)...
ANY assistance would be appreciated...Thanks!
Oh, one more very basic question that I can't seem to figure out... I don't know what the "me" does in such items as me.filter or me.whatever. If you could briefly exlain that to me, I'd appreciate it!