got_access:]
Registered User.
- Local time
- Today, 08:30
- Joined
- Jun 15, 2018
- Messages
- 83
Hi All,
I'm building a new database and one of the tables I originally created with the ID field as an autonumber. However, it became obvious as I continued to refine the DB and add data to it - that the autonumbers are now out of sequence and there are some missing numbers.
So I changed the autonumber field type to simply number and manually fixed them to ensure they increment correctly.
But it would be nice if I could figure out a validation rule to ensure the next record number is Max(field) + 1. In other words the next number would represent the hightest ID number plus 1.
But Access doesn't seem to have the MAX function available in the validation rule builder. Is there a way to do this?
Thanks!
I'm building a new database and one of the tables I originally created with the ID field as an autonumber. However, it became obvious as I continued to refine the DB and add data to it - that the autonumbers are now out of sequence and there are some missing numbers.
So I changed the autonumber field type to simply number and manually fixed them to ensure they increment correctly.
But it would be nice if I could figure out a validation rule to ensure the next record number is Max(field) + 1. In other words the next number would represent the hightest ID number plus 1.
But Access doesn't seem to have the MAX function available in the validation rule builder. Is there a way to do this?
Thanks!