Retrieving values from a query and putting it into a collection

J

Jen

Hi,

I have a problem regarding retrieving a number of results from a query
(which is fine and working) and putting them in a collection within the code.
The problem I seem to be having is executing the query from the code and
putting it into a collection.

Any tips/advice much appreciated.

Thanks,
Jen
 
M

Marshall Barton

Jen said:
I have a problem regarding retrieving a number of results from a query
(which is fine and working) and putting them in a collection within the code.
The problem I seem to be having is executing the query from the code and
putting it into a collection.


Seems pretty straight forward, just open a recordset on the
query and loop through the records appending the value to
the collection. But WHY?? A recordset is often easier to
work with than a collection.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top