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!
 
G

Guest

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top