I have another easy question which seems rather difficult to find the answer to. I would like to define an array to be the size of the length of a recordset that I have taken from my database.

The problem is, when I declare an array like this:

Dim MyArray(intCount) as integer
(or something like that)

It tells me that it wants a constant. I know this is possible in C based languages, but I'm unsure of how it works in VB. Any insight?


Mat