Hi.
I have a form with multiple controls, mostly check boxes and text fields.
The check boxes are named like chkbox1 to chkbox15
What I would like to do, is the posibility to access the checkboxes like this:
Counter = 1
Do While Counter < 15
Me.chkbox + str(Counter) = False
Counter = Counter + 1
Loop
I know this code will not work, I will only show what I want.
Can anybody help me solving this, or maybe give me a hint where to look?
Regards,
Geirr.
I have a form with multiple controls, mostly check boxes and text fields.
The check boxes are named like chkbox1 to chkbox15
What I would like to do, is the posibility to access the checkboxes like this:
Counter = 1
Do While Counter < 15
Me.chkbox + str(Counter) = False
Counter = Counter + 1
Loop
I know this code will not work, I will only show what I want.
Can anybody help me solving this, or maybe give me a hint where to look?
Regards,
Geirr.