I have an MS Access (.accdb) table with data like the following:
Location Number
-------- ------
ABC 1
DEF
For Access 2010 and newer, this is a better way to do it. It uses the table's Before Change Data Macro to derive the next sequential number and put it in the [Number] field of the new record:

The advantages of this approach are:
For more information on Data Macros, see
Create a data macro