Dynamic array

W

Warrio

Hello!

Is it possible to have in Access an array without prespecifying its limit?
I can use array(0 to 1000), but I know if one day if my array goes more than
1002 elements, my program will bug

Thanks for any suggestion!
 
K

Klatuu

Yes it is. Look in Help for the Redim statement. You can use the Preserve
option to keep the data currently in the array.
 
Top