You have several options ... here are just a few
With a nod to RyanDev - try implementing some concurrency rules ... have a look at
this discussion on mdb concurrency[
^]
With a nod to AlexDpars ... you could have a column that auto-increments and use that for your invoice number ... this link is old but still applies
fields that generate automatically[
^]. You might want to reset the number after trying it out ...
how to reset an Autonumber field[
^]. Be aware that many people do not like Autonumber fields - however, I've used them successfully and frequently.
You could upgrade to a more robust multi-user database - there are several offerings out there but you will probably still have to consider building in concurrency rules - the advantage that many other RDBMS will bring is being able to use Triggers/Stored Procedures to implement those rules.