Sir,
In VB-6 application, there are 15 text boxes and these get data from mdb file. I want to use the data of these text boxes in a array, how can I ?
Example
text1.text=100, text2.text=200 and so on upto text15.text
Dim test(15),
To put these value in a array
for i = 1 to 15
test(i)=val(text(i).text)) ' so that test(i) may contain data of text1.text
next
This is not working, why? Please tell me reason or solution