I recently run into the problem of reaching the maximum amount of records in my table, somewhere around 32567. I got an overflow error trying to access the records. I figured out how it could happen since I have only around 2000 actual records in the table. It was the autonumber Id which reached 32567.
It happens because I use two tables. Documents and Archive. Documents is daily filled with all files in a folder on the harddrive. It is then compared with the table Archive and all double records are deleted from the Documents table. After that the new files are added to the Archive table and the Documents table is emptied again.
All the deleted records from Documents however used an autonumber which makes it increase fast. What should I do to prevent this from happening?
Regards Marco