I know. I Know. But is it possible to reset an Autonumber Field in Code. Here's what I have tried.
1) Delete all records in an existing Table.
Now I would like to change the attributes of the IDField, so
The current Field Attributes are dbAutoIncrField. I want to reset it to dbFixedField to clear the AutoNumber Attribute
fldIDX.Attributes = dbFixedField
But it doesn't like this. Error is Invalid Operation.
I ASSUME THIS MEANS I CANNOT CHANGE THE ATTRIBUTE. OH WELL.
If anyone has any insight into how to Reset an Autonumber Field without repairing and compacting the database, I woull really enjoy seeing how you did it.
1) Delete all records in an existing Table.
Now I would like to change the attributes of the IDField, so
The current Field Attributes are dbAutoIncrField. I want to reset it to dbFixedField to clear the AutoNumber Attribute
fldIDX.Attributes = dbFixedField
But it doesn't like this. Error is Invalid Operation.
I ASSUME THIS MEANS I CANNOT CHANGE THE ATTRIBUTE. OH WELL.
If anyone has any insight into how to Reset an Autonumber Field without repairing and compacting the database, I woull really enjoy seeing how you did it.