Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to initialize an array in Access VBA? 1

Status
Not open for further replies.

VBUser77

MIS
Jan 19, 2005
95
0
0
US
I have a two dimensional array that I am using in my Access VBA code. I can reinitialize the values of my array (setting them equal to zero) by using the Redim statement.
But whenever I use Redim statement I have to give dimensions for my array.

Is there any other way I could reinitialize my array without using the redim statement.

Thanks a lot.

Jay
 
Have a look at the Erase instruction.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top