DavidCantor
Registered User.
- Local time
- Today, 15:39
- Joined
- Oct 4, 2012
- Messages
- 66
Private Sub Paid_Click()
Dim Vrbpaid As String
If [Paid] = True Then Vrbpaid = 1
ElseIf [Paid] = False Then Vrbpaid = 0
End If
[Paid] = Vrbpaid
End Sub
Can anyone tell me what the error is with this code?
I keep getting Else without If error message.
I have a check box Paid and I want to put a 1 for a true selection and a 0 for a false selection in the field.
thanks
Dim Vrbpaid As String
If [Paid] = True Then Vrbpaid = 1
ElseIf [Paid] = False Then Vrbpaid = 0
End If
[Paid] = Vrbpaid
End Sub
Can anyone tell me what the error is with this code?
I keep getting Else without If error message.
I have a check box Paid and I want to put a 1 for a true selection and a 0 for a false selection in the field.
thanks