I have a form that has an exit button on it. Is there a code I can write that will delete the current record if one has been started, and if not just close the form?
I tried doing this with just a delete record, then close form macro, however if no data has been inputed to start the record, it causes a problem since it has no record to delete.
Thanks for any help and advise.
I tried doing this with just a delete record, then close form macro, however if no data has been inputed to start the record, it causes a problem since it has no record to delete.
Thanks for any help and advise.