R
Rick Allison
I have a close button that runs docmd.close.
I also have the form close (X) option enabled.
The form is bound. When I type something into the form and press the close
button, the one I created, the form closes with no issue. When I use the
forms close (X) option I receive warning message saying the record cannot be
saved at this time because a related record is required. (This is okay and
not the issue).
I tried me.closebutton = false at form open and it says I cannot do this. I
don't want to set this option in design mode.
Why does the docmd.close just close the form but the close (X) option wants
to display an error. I tried setting warning off on form open but that did
not work.
I'm using Access 2000.
Thanks,
I also have the form close (X) option enabled.
The form is bound. When I type something into the form and press the close
button, the one I created, the form closes with no issue. When I use the
forms close (X) option I receive warning message saying the record cannot be
saved at this time because a related record is required. (This is okay and
not the issue).
I tried me.closebutton = false at form open and it says I cannot do this. I
don't want to set this option in design mode.
Why does the docmd.close just close the form but the close (X) option wants
to display an error. I tried setting warning off on form open but that did
not work.
I'm using Access 2000.
Thanks,