G
Guest
I have a form that I want to use to update information in a table. I've
decided to use checkboxes to make it as simple and easy to use as possible. I
want to use two of the checkboxes as an either/or kinda thing. Something like
this:
Private Sub CkBox1_Click( )
If CkBox1.Value = True Then
Table.Field = "Option 1"
End If
End Sub
Private Sub CkBox2_Click( )
If CkBox2.Value = True Then
Table.Field = "Option 2"
End If
End Sub
Only thing is I can't get it to work properly. I tried adding brackets, no
brackets, quotes, no quotes. Any ideas?
decided to use checkboxes to make it as simple and easy to use as possible. I
want to use two of the checkboxes as an either/or kinda thing. Something like
this:
Private Sub CkBox1_Click( )
If CkBox1.Value = True Then
Table.Field = "Option 1"
End If
End Sub
Private Sub CkBox2_Click( )
If CkBox2.Value = True Then
Table.Field = "Option 2"
End If
End Sub
Only thing is I can't get it to work properly. I tried adding brackets, no
brackets, quotes, no quotes. Any ideas?