before insert and checkbox and subform

A

a

Thank You
I have subform and form (Master form)
In the subform before insert event I put this code :
====================
If Parent.checkbox1.Value = False Then
Cancel = True
Else
'
End If
============
If Parent.checkbox1.Value = 0 Then
Cancel = True
Else
'
End If
===================
If Me.Parent.checkbox1.Value = 0 Then
Cancel = True
Else
'
End If
========================
Why all this code not work correctly
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top