S
Stapes
Hi
I want my order numbers to start from 11100, so I ran the following
SQL procedure:
ALTER TABLE [Orders] ALTER COLUMN [PK_Order] COUNTER(11100, 1);
Unfortunately, this would not work unless you delete the relationships
the field has, then re-create them afterwards.
This is too much to expect my client to do correctly each time he
wants to initialise his database, so is there a way I can do all three
operations in VB code. i.e:
1. Delete the relationship
2. Run the SQL
3. Re-create the relationship
Stapes
I want my order numbers to start from 11100, so I ran the following
SQL procedure:
ALTER TABLE [Orders] ALTER COLUMN [PK_Order] COUNTER(11100, 1);
Unfortunately, this would not work unless you delete the relationships
the field has, then re-create them afterwards.
This is too much to expect my client to do correctly each time he
wants to initialise his database, so is there a way I can do all three
operations in VB code. i.e:
1. Delete the relationship
2. Run the SQL
3. Re-create the relationship
Stapes