Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append auto-inc values
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01227878
Message ID:
01227898
Views:
23
>Having being used to generating unique reference fields in the past i decided to use to auto inc value for a particular project. I now want to append the contents of one table into another but i still want to keep the original unique reference no. When I append or scatter/gather foxpro will generate a new one
>
>Many thanks for any help

If you do it in code then you could firstly remove field autoincrement attribute by using ALTER TABLE, run your append code and then restore autoincrement by ALTER TABLE again (make sure to set correct NextValue).
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform