C
Chutney via AccessMonster.com
I have numerous queries that all use the same parameters. I have a form that
captures the parameters. I use individual macros for each query to call the
standard form, the specific query and export the data to an Excel spreadsheet.
The form has a multi-select listbox. I have studied as much as I can of the
exchanges on this forum about using multi-select listboxes as parameters for
queries including:
http://allenbrowne.com/ser-50.html
http://www.mvps.org/access/forms/frm0007.htm
If I understand these correctly, however, they either construct the WHERE
clause to be used in a report or build a total query, starting with SELECT.
In my case I do not use a report and I would rather not have a different
parameter form for each query or construct within the module the rather
complex queries. Therefore, I would like to find a way of passing the multi-
select parameter string to the Query Grid criteria.
There was one posting that, I think, solved this with Eval() but I have not
been able to get it to work:
http://www.accessmonster.com/Uwe/Forum.aspx/access-forms/7851/Multi-select-Combo-Box
Is it possible to use multi-select parameters with the Query Grid and, if so,
how?
Thanks and regards
captures the parameters. I use individual macros for each query to call the
standard form, the specific query and export the data to an Excel spreadsheet.
The form has a multi-select listbox. I have studied as much as I can of the
exchanges on this forum about using multi-select listboxes as parameters for
queries including:
http://allenbrowne.com/ser-50.html
http://www.mvps.org/access/forms/frm0007.htm
If I understand these correctly, however, they either construct the WHERE
clause to be used in a report or build a total query, starting with SELECT.
In my case I do not use a report and I would rather not have a different
parameter form for each query or construct within the module the rather
complex queries. Therefore, I would like to find a way of passing the multi-
select parameter string to the Query Grid criteria.
There was one posting that, I think, solved this with Eval() but I have not
been able to get it to work:
http://www.accessmonster.com/Uwe/Forum.aspx/access-forms/7851/Multi-select-Combo-Box
Is it possible to use multi-select parameters with the Query Grid and, if so,
how?
Thanks and regards