![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello all, I have 13 check boxes on a form. I am trying to check all the check boxes to determine if they are true or false when I close the form. At present only the first IF...Then...Else works and then Exits the Sub. Example: If Me.First = True Then Me.FieldName = "Yes" Else: Me.FieldName = "No" End If If Me.Second = True Then Me.FieldName = "Yes" Else: Me.FieldName = "No" End If If Me.Third = True Then Me.FieldName = "Yes" Else: Me.FieldName = "No" End If ... Total of 13 check Boxes to be checked on Form Close. I have tried with only one End If statement at the end to no luck. Thank you for your help. Glen |
#3
| |||
| |||
|
|
Hello all, I have 13 check boxes on a form. I am trying to check all the check boxes to determine if they are true or false when I close the form. At present only the first IF...Then...Else works and then Exits the Sub. Example: If Me.First = True Then Me.FieldName = "Yes" Else: Me.FieldName = "No" End If If Me.Second = True Then Me.FieldName = "Yes" Else: Me.FieldName = "No" End If If Me.Third = True Then Me.FieldName = "Yes" Else: Me.FieldName = "No" End If ... Total of 13 check Boxes to be checked on Form Close. I have tried with only one End If statement at the end to no luck. Thank you for your help. Glen |
![]() |
| Thread Tools | |
| Display Modes | |
| |