I have five controls named cbbx0 to cbbx4 on selectionform.
I have a loop for i = 0 to 4.
I have f set as forms!selectionform
How can I refer to the controls?
If have this
For i = 0 to conMaxControls - 1
If f.["cbbx" & i].enabled Then ...
But it doesn't work. Can anyone help me? Thanks in advance!
I have a loop for i = 0 to 4.
I have f set as forms!selectionform
How can I refer to the controls?
If have this
For i = 0 to conMaxControls - 1
If f.["cbbx" & i].enabled Then ...
But it doesn't work. Can anyone help me? Thanks in advance!