Hello...
Sorry if the subject line is confusing. What I'm doing involved concatenating a string and variable to make a field name, then storing that in a variable, then using that variable to assign a value to a recordset... that probably doesn't make sense, so I'll paste the code...
Do
val = "Me.Text" & cntr2
rs(cntr) = val.Value
cntr = cntr + 1
cntr2 = cntr2 + 1
Loop Until cntr = rs.Fields.Count + 1
if you can think of the correct way to let the computer know what I want it to do, please share. If you need clarification, let me know.
Thanks a million,
Tim
Sorry if the subject line is confusing. What I'm doing involved concatenating a string and variable to make a field name, then storing that in a variable, then using that variable to assign a value to a recordset... that probably doesn't make sense, so I'll paste the code...
Do
val = "Me.Text" & cntr2
rs(cntr) = val.Value
cntr = cntr + 1
cntr2 = cntr2 + 1
Loop Until cntr = rs.Fields.Count + 1
if you can think of the correct way to let the computer know what I want it to do, please share. If you need clarification, let me know.
Thanks a million,
Tim