C
Captain OhNo
Hello,
I have MainForm, SubForm1 and SubForm2. If the CheckBox on SubForm1 = True,
than I would like the AllowAdditions = False on SubForm2. I have the
following code in the On Current Event of SubForm1
If chkboxName = True Then
Me.Parent![SubForm2].AllowAdditions = False
Else
Me.Parent![SubForm2].AllowAdditions = True
End If
When I first used this code it worked but I recieved an error message when I
opened the form(s) "Object doesn't support this property or method."
After trying to troubleshoot the error, the code doesn't work at all.
Thanks for the help
Captain OhNo
I have MainForm, SubForm1 and SubForm2. If the CheckBox on SubForm1 = True,
than I would like the AllowAdditions = False on SubForm2. I have the
following code in the On Current Event of SubForm1
If chkboxName = True Then
Me.Parent![SubForm2].AllowAdditions = False
Else
Me.Parent![SubForm2].AllowAdditions = True
End If
When I first used this code it worked but I recieved an error message when I
opened the form(s) "Object doesn't support this property or method."
After trying to troubleshoot the error, the code doesn't work at all.
Thanks for the help
Captain OhNo