Hi
I have a dashboard which has 31 checkboxes on it. I don't not really want to have to repeat the code 31 times,
i.e. if chkEpiCustom4.CheckState.toString = "Checked" then ...
is there any way of accessing the values by using the control name as a variable fieldname?
for x as integer from 1 to 31
"chkEpiCustom" + x.toString
This is because I have to set \ reset and save the values and doing it all as individual fields will be very cumbersome.
any help would be appreciated
I have a dashboard which has 31 checkboxes on it. I don't not really want to have to repeat the code 31 times,
i.e. if chkEpiCustom4.CheckState.toString = "Checked" then ...
is there any way of accessing the values by using the control name as a variable fieldname?
for x as integer from 1 to 31
"chkEpiCustom" + x.toString
This is because I have to set \ reset and save the values and doing it all as individual fields will be very cumbersome.
any help would be appreciated