M
Mr. Smith
Hi.
I use this kind of approach to handle "dynamic" references to other controls
I.e set values in 12 different txtboxes
For i = 1 to 12
Me("txtMonthRevenue" & i & "").Value = somevalue
Next i
Thing is. I should want to do it against another form like this:
For i = 1 to 12
Me("txtMonthRevenue" & i & "").Value = Form_MainForm.txtMonth&i.Value
Next i
(Which ofcourse does not work....)
Is it possible to run through controls in another form on the same manner as
in Me("txt" & i &")?
Kind regards
Mr. Smith
I use this kind of approach to handle "dynamic" references to other controls
I.e set values in 12 different txtboxes
For i = 1 to 12
Me("txtMonthRevenue" & i & "").Value = somevalue
Next i
Thing is. I should want to do it against another form like this:
For i = 1 to 12
Me("txtMonthRevenue" & i & "").Value = Form_MainForm.txtMonth&i.Value
Next i
(Which ofcourse does not work....)
Is it possible to run through controls in another form on the same manner as
in Me("txt" & i &")?
Kind regards
Mr. Smith