a.mlw.walker
Registered User.
- Local time
- Today, 14:02
- Joined
- Jun 20, 2007
- Messages
- 36
Hi, I have a checkbox, and when its value is 1 (I understand this means its selected) I want a textbox, which is the control of a field called flag (and is invisible) on the form to take the value of F, and relay to the field on the table. but it doesnt relay to the table.
My code is under the onclick event procedure for the checkbox and is
Private Sub Check4_Click()
If Check4.Value = 1 Then
Me![Text7] = "F"
Else
End If
End Sub
Please help me
Thanks
Alex
P.S I have just made the source of the checkbox, the field in the table to ammend - flagged. My new code is
Private Sub Check4_Click()
If Check4.Value = 1 Then
[Flagged] = "F"
Else
End If
End Sub
But it adds a -1 if i do tick the check box, and a 0 if i dont...
My code is under the onclick event procedure for the checkbox and is
Private Sub Check4_Click()
If Check4.Value = 1 Then
Me![Text7] = "F"
Else
End If
End Sub
Please help me
Thanks
Alex
P.S I have just made the source of the checkbox, the field in the table to ammend - flagged. My new code is
Private Sub Check4_Click()
If Check4.Value = 1 Then
[Flagged] = "F"
Else
End If
End Sub
But it adds a -1 if i do tick the check box, and a 0 if i dont...
Last edited: