Guest_imported
New member
- Jan 1, 1970
- 0
Hi you all.
I need help with arrays.I dont know what I doing wrong![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
this is the code I use to input data into an array.
dim ID(0 to 20),INCOME(0 to 20),PEOPLE(0 to 20),index as integer
For index = 0 To 20
ID(index) = Text1 ''text field one
INCOME(index) = Text2 ''text field two
PEOPLE(index) = Text3 ''text field three
Next index
After inputting now I would like take the array and output it.This is the code I use.
for index = 0 to 20
msgbox ID(index)
Next index
It doesnt work![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Please help...
I need help with arrays.I dont know what I doing wrong
this is the code I use to input data into an array.
dim ID(0 to 20),INCOME(0 to 20),PEOPLE(0 to 20),index as integer
For index = 0 To 20
ID(index) = Text1 ''text field one
INCOME(index) = Text2 ''text field two
PEOPLE(index) = Text3 ''text field three
Next index
After inputting now I would like take the array and output it.This is the code I use.
for index = 0 to 20
msgbox ID(index)
Next index
It doesnt work
Please help...