geethanandh
Programmer
hello
I have created auserdefined variable say test
Type test
a as string
b as integer
end type
Now creating an array of it by saying
Dim sample(10) as test
Now i have two text boxes t1 and t2. T1 has the array index say 5 and T2 has the name of the element of the type (a or b)
What i want is the value of userdefined element based on the t1 and t2 values.
sample(5).b will retrieve the value of b in the 5th array element of sample.
since i am getting 5 and b from the text box if i give
sample(t1.text).(t2.text) its not returning any value.
Pls help me in this
bye
I have created auserdefined variable say test
Type test
a as string
b as integer
end type
Now creating an array of it by saying
Dim sample(10) as test
Now i have two text boxes t1 and t2. T1 has the array index say 5 and T2 has the name of the element of the type (a or b)
What i want is the value of userdefined element based on the t1 and t2 values.
sample(5).b will retrieve the value of b in the 5th array element of sample.
since i am getting 5 and b from the text box if i give
sample(t1.text).(t2.text) its not returning any value.
Pls help me in this
bye