G
Guest
I am trying to create a new record that will have a unique numeric ID.
However, AutoNumber was not used for the ID field when the DB was created,
and I cannot change it. I was wondering if there was a way to find the
highest current value of all the IDs in order to determine which number
should be the next one used (Example: 1501 is the highest current value, and
I need 1502 to be the default for the next new record). I have tried using
the Max() function to get the highest value of the ID number, but it always
returns 0 for the value.
If anyone has any suggestions they would be most appreciated. Thank you
very much.
However, AutoNumber was not used for the ID field when the DB was created,
and I cannot change it. I was wondering if there was a way to find the
highest current value of all the IDs in order to determine which number
should be the next one used (Example: 1501 is the highest current value, and
I need 1502 to be the default for the next new record). I have tried using
the Max() function to get the highest value of the ID number, but it always
returns 0 for the value.
If anyone has any suggestions they would be most appreciated. Thank you
very much.