I have a function to read in several values from a record
F1,F2,F3
Record_set = ORS
Count =3
Function Read_Database(ByVal Record_Set, ByVal Count)
I=1
do until I>Count
F&I=Record_Set("F"&I&""
I=I+1
loop
End Function
I would like my resulte to be F1= F1 value from database, F2 = F2 value from database and so on. I can't seem to get the variable F&I to work. How do I get that syntex correct?
Thanks,
Josh
F1,F2,F3
Record_set = ORS
Count =3
Function Read_Database(ByVal Record_Set, ByVal Count)
I=1
do until I>Count
F&I=Record_Set("F"&I&""
I=I+1
loop
End Function
I would like my resulte to be F1= F1 value from database, F2 = F2 value from database and so on. I can't seem to get the variable F&I to work. How do I get that syntex correct?
Thanks,
Josh