R
RickR
I have a series of 14 checkboxes that I need to
enable/disable after two boxes have been checked. I've
named the boxes chkBox1,chkBox2, etc.
I want to write a quick for-loop like:
==============
for c=1 to 14
if(me.chkBox&c.value=0) then
me.chkBox&c.disable=FALSE
end if
next
==============
but I can't figure out how to get the name reference
(me.chkBox&c) to work properly. Can you help?
Alternately, if there is a better design to get this
functionality, I'd appreciate your input there too.
Thanks - Rick
enable/disable after two boxes have been checked. I've
named the boxes chkBox1,chkBox2, etc.
I want to write a quick for-loop like:
==============
for c=1 to 14
if(me.chkBox&c.value=0) then
me.chkBox&c.disable=FALSE
end if
next
==============
but I can't figure out how to get the name reference
(me.chkBox&c) to work properly. Can you help?
Alternately, if there is a better design to get this
functionality, I'd appreciate your input there too.
Thanks - Rick