Ecreations
Programmer
Array and a Recordset Question
Hi guys
i have a recordset returning one field
I want it to return an array of that field
i know about GetRow but i want to use an array
now i got this far but keep getting errors
Do While Not rs.EOF
ReDim Preserve MyArray(x)
MyArray(x) = rs("Title"
rs.MoveNext
x = x + 1
loop
any help would be greatly appreciated
Hi guys
i have a recordset returning one field
I want it to return an array of that field
i know about GetRow but i want to use an array
now i got this far but keep getting errors
Do While Not rs.EOF
ReDim Preserve MyArray(x)
MyArray(x) = rs("Title"
rs.MoveNext
x = x + 1
loop
any help would be greatly appreciated