I have a module which adds records to a Table.
The Primary Key for the Table is defined as Autonumber.
As I'm in the testing phase, I've some code which deletes each record in the Table, to clear it down prior to my next effort.
However, the Autonumber field (as you would expect) just keeps trundling on.
My question (which is not vital), is
"Is there any way from the VB script that I can reset this Autonumber field either to a base value, or to a specific value before re-populating the Table?" (I suspect I may have to delete the field, then add a new one).
What I want to achieve is that each time I run a "Table reload" test I get the same values in the field.
Thanks in advance for anybody's help....
The Primary Key for the Table is defined as Autonumber.
As I'm in the testing phase, I've some code which deletes each record in the Table, to clear it down prior to my next effort.
However, the Autonumber field (as you would expect) just keeps trundling on.
My question (which is not vital), is
"Is there any way from the VB script that I can reset this Autonumber field either to a base value, or to a specific value before re-populating the Table?" (I suspect I may have to delete the field, then add a new one).
What I want to achieve is that each time I run a "Table reload" test I get the same values in the field.
Thanks in advance for anybody's help....