Autonumber ?

amfroehlich

Board Regular
Joined
Jul 14, 2004
Messages
192
I have a field that is autonumbered, when i access that field in a form it pulls the next number. But, if i don't add the information to the database it still stores that number in "Never Never Land" and it can't be used to continue the sequence. Why? Can I stop this? How?
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
amfroehlich said:
I have a field that is autonumbered, when i access that field in a form it pulls the next number. But, if i don't add the information to the database it still stores that number in "Never Never Land" and it can't be used to continue the sequence. Why? Can I stop this? How?

If the sequence of the numbers is important to you, then Autonumber is not the right thing to use. Any time you delete a record, etc., that number is gone for good. You can get a number back, however, if it is still the last one, meaning you haven't added a record after it yet. You just compact and repair the database. Autonumbers are meant only to be unique, not to have any particular value or sequence.
 
Upvote 0

Forum statistics

Threads
1,221,813
Messages
6,162,117
Members
451,743
Latest member
matt3388

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top