This may not be the correct forum for this question. If not, I apologize.
I have a database on a drive that is available to multiple users. I want to do this:
A user selects options on a form and clicks Submit. This creates an SQL Query (via VBScript) that varies in length depending on the options selected by the user. The SQL query then populates a recordset that is global for each user's session (in other words, if two users have different queries, then each of their recordsets will be different, but they can access their recordset from any form or report). The recordset will be used as a datasource for a subform, so the user can interact with each record in the recordset.
I already know how to create the variable length SQL Query depending on options selected and open the form/subform afterwards. What I don't know is (1) how to make a recordset global, (2) how to make this recordset available to the forms/reports in the database, and (3) how to make the recordset so each user has their own (in other words, so one person's query doesn't affect another person's recordset).
Thank you for any help you can provide,
Steve Geller
I have a database on a drive that is available to multiple users. I want to do this:
A user selects options on a form and clicks Submit. This creates an SQL Query (via VBScript) that varies in length depending on the options selected by the user. The SQL query then populates a recordset that is global for each user's session (in other words, if two users have different queries, then each of their recordsets will be different, but they can access their recordset from any form or report). The recordset will be used as a datasource for a subform, so the user can interact with each record in the recordset.
I already know how to create the variable length SQL Query depending on options selected and open the form/subform afterwards. What I don't know is (1) how to make a recordset global, (2) how to make this recordset available to the forms/reports in the database, and (3) how to make the recordset so each user has their own (in other words, so one person's query doesn't affect another person's recordset).
Thank you for any help you can provide,
Steve Geller