I have a form, and on that form I have 31 Checkboxes. The idea is that the user will check the boxes for the fields he/she would like to see on a report. I'm trying to create an "Ad-Hoc" report system. How can i programmatically determine the value of the checkboxes. I know I can do it the really long way like:
If chkLastName.Value = -1 Then
chkValue = "Last Name"
but since there are so many of them (31) the combinations are huge... Is there a way to determine if none of the values are checked but one or two are?
Sorry, I'm a bit of a newbie to VBA, I appreciate any help. Thanks
Bill
If chkLastName.Value = -1 Then
chkValue = "Last Name"
but since there are so many of them (31) the combinations are huge... Is there a way to determine if none of the values are checked but one or two are?
Sorry, I'm a bit of a newbie to VBA, I appreciate any help. Thanks
Bill