C
CW
I have a cmd button that opens an invoice form in add mode, and allocates an
invoice number via autonumbering.
If the invoice creation is aborted for some reason (i.e. if the form is
closed without the Save button having been clicked) the skeleton of the
invoice is still added and the number is used and I have a meaningless record
in tblInvoices.
Is there some way I can prevent this?
If it means that I have to add another cmd button "Cancel" that undoes
things, rather than users just hitting the close button, that's fine...
Many thanks
CW
invoice number via autonumbering.
If the invoice creation is aborted for some reason (i.e. if the form is
closed without the Save button having been clicked) the skeleton of the
invoice is still added and the number is used and I have a meaningless record
in tblInvoices.
Is there some way I can prevent this?
If it means that I have to add another cmd button "Cancel" that undoes
things, rather than users just hitting the close button, that's fine...
Many thanks
CW