If the user closes the form without filling in the required fields, the
record will be deleted. This is working. however it displays the required
field msg box before deleting the record and closing the form.

Signature
deb
> Deb
>
[quoted text clipped - 11 lines]
> > to
> > close without msgs.
Jeff Boyce - 31 Jul 2007 18:39 GMT
It sounds like your user could close the form one time and get his/her work
deleted and close it another time and get it saved. How do they know what's
happening?
Regards
Jeff Boyce
Microsoft Office/Access MVP
> If the user closes the form without filling in the required fields, the
> record will be deleted. This is working. however it displays the required
[quoted text clipped - 18 lines]
>> > to
>> > close without msgs.
UpRider - 31 Jul 2007 18:43 GMT
Deb, in the property sheet change the required=yes to required=no for all
fields in question.
In the form_close event, have your code check each textbox that was formerly
'required'. If any are null, delete the record.
If all are OK, save the record.
HTH, UpRider
> If the user closes the form without filling in the required fields, the
> record will be deleted. This is working. however it displays the required
[quoted text clipped - 18 lines]
>> > to
>> > close without msgs.