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!

Arrays??

Status
Not open for further replies.

Tom123456

Programmer
Apr 2, 2003
70
SE
In C++ you can store values in an array like:

str[3] = hello;

Can I do the same thing in Access? I want to store a customer number and later generate a report.



- Tom
 
Hello

Yes, you can use arrays in Access. Remember though that scope of variables means that if you close a form it is declared in you will lose the contents.

Code looks something like:

Dim names (5) As string

or
Dim Morenames (5, 3) As String

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top