> Hi Fred
> Tried it without the = but still no joy
[quoted text clipped - 77 lines]
>> Make sure it's in the FORM's BeforeUpdate event, not of a control on
>> the form.
Steve,
Did you not read this line of my response?
Make sure it's in the FORM's BeforeUpdate event, not of a control on
the form.
It seems that Test is the name of the check box field.
The form also has a BeforeUpdate event. That's where the code goes.
When you place your code in the Form's BeforeUpdate event, the actual
name of the event is exactly as I wrote it in the previous message.
Here is the full code using YOUR check box name.
Private Sub Form_BeforeUpdate(Cancel As Integer)
If Me.Test = 0 Then
MsgBox "You must check the check box."
Cancel = True
End If
End Sub
Don't change anything. Just write it in the Form's BeforeUpdate
event, not in the Test control's BeforeUpdate event.

Signature
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Steve Goodrich - 15 May 2008 00:09 GMT
Fred,
Many thanks, works perfectly. I'm finding this side of access very difficult
not coming from a technical background.
Thanks for your patience.
Steve
>> Hi Fred
>> Tried it without the = but still no joy
[quoted text clipped - 100 lines]
> Don't change anything. Just write it in the Form's BeforeUpdate
> event, not in the Test control's BeforeUpdate event.