S
Sandy
I have a form that writes a subrecord field value to a
table when opened.
When the user finishes filling out the form they click on
Save.
Once Save is clicked I have the code to ask them if they
want to save. If vbYes, it saves, if VbNo, I want it to
delete the record and close the entry form.
I can get the record to delete with the command toolbar
prompt if I don't have the Docmd.Close in the code. When I
try to delete the record and then close the form it
doesn't delete the record.
Do you have a way to delete a record where the field in
the table matches the field on the open form?
Your assistance is appreciated.
Thanks!
Sandy
table when opened.
When the user finishes filling out the form they click on
Save.
Once Save is clicked I have the code to ask them if they
want to save. If vbYes, it saves, if VbNo, I want it to
delete the record and close the entry form.
I can get the record to delete with the command toolbar
prompt if I don't have the Docmd.Close in the code. When I
try to delete the record and then close the form it
doesn't delete the record.
Do you have a way to delete a record where the field in
the table matches the field on the open form?
Your assistance is appreciated.
Thanks!
Sandy