Two Dimensional Arrays

J

Joseph Narissi

Hello all,

Can anyone tell me how to get and assign the first dimension of a two
dimensional array to another array? For example, I have a recordset object
(rsObj) and then I take that object and assign to array (via GetRows()
method). I would like to take just the first dimension and assign to another
array, but I get a "Subscript Out of Range" error.... any ideas?


temp_array = rsObj.GetRows
new_array = temp_array(0)


Thanks for the help....

Joe
 

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

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top