Auto-increment field for unique ID

I really, really need an auto-increment field that allows a unique number to be generated automatically when a new record is inserted into the table and that does not change if the form is edited from the same or other devices.

This is the primary key field that we would like to be created automatically every time a new record is inserted.