Storing "SQL query" as a persistent object

Does anybody know of a way to store the SQL query as a percistent object, in VBA, so that it can be reused later on in some other code?

If that's not possible, how can I initialise a RowSource property of the ListBox to the SQL query? (given that RowSourceType is set to Table/Query)???
Thanks a lot
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!