chubbychap
New Member
- Joined
- Jun 3, 2003
- Messages
- 18
Hello all - I have a problem with the autonumbering in my database which I will try to explain.
My database uses the autonumber to create a Client number when a new record is created. The database also has the facility to remove records to a seperate table when certain criteria are met (this works fine). Therefore my main table (in which records are created) has gaps in the sequence of numbers shown. Until recently, when creating a new record, the autonumber has continued to select the next available number.
However, now it is selecting numbers that have already been generated. If that number is one that has been removed to the separate table, it allows the record to be created and saved - thus 2 records exist with the same number - one in each table. If the number it selects is already in the main table, it won't allow the save to happen. In essence I can't create any more new clients.
I have checked the properties of the autonumber field and it still says "Indexed (No Duplicates)". I don't understand how it could just suddenly stop working. Any ideas out there? Thanks
My database uses the autonumber to create a Client number when a new record is created. The database also has the facility to remove records to a seperate table when certain criteria are met (this works fine). Therefore my main table (in which records are created) has gaps in the sequence of numbers shown. Until recently, when creating a new record, the autonumber has continued to select the next available number.
However, now it is selecting numbers that have already been generated. If that number is one that has been removed to the separate table, it allows the record to be created and saved - thus 2 records exist with the same number - one in each table. If the number it selects is already in the main table, it won't allow the save to happen. In essence I can't create any more new clients.
I have checked the properties of the autonumber field and it still says "Indexed (No Duplicates)". I don't understand how it could just suddenly stop working. Any ideas out there? Thanks