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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi Dimensional Array

Status
Not open for further replies.

Gatorajc

MIS
Mar 1, 2002
423
US
This is an easy I'm sure. How do I create a multi dimensional array? I have a clue but not sure if Im going the right way. I want a record numbers to be in the first index field and a account numbers in the second index field.

Do I just cycle though it like I would a normal array but just with a nested loop?


arracct(i)(j)
 
dim arracct(i,j)

where i is the number of rows minus 1 and j is the number of clumns minus 1

arracct(0,0) = index
arracct(0,1) = account

This works in VB.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top