M
Michael S. Montoya
I have a table that is using InvoiceNumber as the primary key, however, I
can't have it to be autonumber because we don't want a user to back out of
adding a new entry and skip the invoice number. What I do is before update,
assign the invoice number to dmax+1.
This usually works, however, there have been a couple occasions where two
users start the new record at the EXACT same moment and both grab the same
number. Is there a way around this?
Thanks
Michael
can't have it to be autonumber because we don't want a user to back out of
adding a new entry and skip the invoice number. What I do is before update,
assign the invoice number to dmax+1.
This usually works, however, there have been a couple occasions where two
users start the new record at the EXACT same moment and both grab the same
number. Is there a way around this?
Thanks
Michael