A
Anil Gupte
I am having a problem using Multidim arrays. I want to create an array
which as I understand it is dimensioned as:
dim xyz (rows,columns) as String
I want to populate it with rows from a table in a database. I don't know
how many rows I am getting so of course I have to Redim inside the loop that
does this.
Unfortunately, the error message and documentation say: "In a
multidimensional array, you can change only the last dimension when you use
Preserve"
How can that be? How can you not be able to change the number of rows? Or
am I missing something? Is there a different variable type that I need to
use?
Thanx in advance,
which as I understand it is dimensioned as:
dim xyz (rows,columns) as String
I want to populate it with rows from a table in a database. I don't know
how many rows I am getting so of course I have to Redim inside the loop that
does this.
Unfortunately, the error message and documentation say: "In a
multidimensional array, you can change only the last dimension when you use
Preserve"
How can that be? How can you not be able to change the number of rows? Or
am I missing something? Is there a different variable type that I need to
use?
Thanx in advance,