daninthemix
Registered User.
- Local time
- Today, 08:15
- Joined
- Nov 25, 2005
- Messages
- 41
Hello all!
I have this code in a form's Current event:
----------------------------------------
If ChkClosed.Value = Checked Then
AllowEdits = True
Else
AllowEdits = False
End If
----------------------------------------
Simple eh? ChkClosed is a checkbox sourced by a field with a "yes/no" datatype. For some reason it always uses the 'Else' code. In other words, it's not actually bothering to check the status of ChkClosed which seems pretty rude to me.
Any suggestions?
Thx
I have this code in a form's Current event:
----------------------------------------
If ChkClosed.Value = Checked Then
AllowEdits = True
Else
AllowEdits = False
End If
----------------------------------------
Simple eh? ChkClosed is a checkbox sourced by a field with a "yes/no" datatype. For some reason it always uses the 'Else' code. In other words, it's not actually bothering to check the status of ChkClosed which seems pretty rude to me.
Any suggestions?
Thx