Hi All,
I am trying to create a variable array and fill it based on the selection from a table.
This doesn't seem to work...
.. it fails on the red section. can i use a variable to set an array value??
if not how do i dynamically set the size of an array based on the row count of a sql select query??
Thanks,
spin.
I am trying to create a variable array and fill it based on the selection from a table.
This doesn't seem to work...
Code:
Do
rs.MoveFirst
[COLOR="Red"]service_array(iCount)[/COLOR] = rs!service_id
iCount = iCount + 1
rs.MoveNext
Loop Until rs.EOF
if not how do i dynamically set the size of an array based on the row count of a sql select query??
Thanks,
spin.