ITintern34744
New member
- Local time
- Yesterday, 21:35
- Joined
- Aug 20, 2015
- Messages
- 1
I have a checkbox and I would like to return a value, for example "male" or "female" instead of 0 or -1. I have tried a few solutions and my checkbox is named Sat. Here is my first attempt:
Private Sub Sat_Click()
Dim strSelction As String
strSelction = ""
If Me.Sat = True Then
strSelection = strSelection & "Sat;"
End If
End Sub
Here is my second attempt:
Private Sub Sat_Click()
Dim strSelction As String
strSelction = ""
If Me.Sat = True Then
Sat.Controls.Item(0).Caption
End If
End Sub
Thank you.
Private Sub Sat_Click()
Dim strSelction As String
strSelction = ""
If Me.Sat = True Then
strSelection = strSelection & "Sat;"
End If
End Sub
Here is my second attempt:
Private Sub Sat_Click()
Dim strSelction As String
strSelction = ""
If Me.Sat = True Then
Sat.Controls.Item(0).Caption
End If
End Sub
Thank you.