inserting a query into an aray?

  • Thread starter Thread starter carnevil00
  • Start date Start date
C

carnevil00

Guest
Hi i am having a problem that will probably be very simple for you guys

I want to generate a query then insert all the values into an array
I know it is simple when u select only 1 value from the entire query and put it in a single variable, but if the query returns a large list of values I need a way to store them into a variable..

how would i do this?

I am using VBA for access

thanks in advance
 
Look at the GetString method of the Recordset object in VBA help.
 
Why do you need to use an array? Why won't the RecordSet work for you?
 
I'm sure Sergeant actually meant the GetRows method of the ADO recordset object.

Regards,
Tim
 
Yeah, one of those...GetString...GetRows.
Thanks Tim, for getting my back.
 
No problem. Sunday typos...I hate them...
 

Users who are viewing this thread

Back
Top Bottom