Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append from a table with autonum
Message
From
07/06/2011 18:10:23
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01513452
Message ID:
01513455
Views:
38
The key is that the auto inc column will not be updated. So, in the temp table, just make it type N and append, then update the auto inc column with unique values (unique to the master table).

>Thanks for the quick response, Craig. Actually the receiving table also has an autonum field (they are both basically identical tables), so I'm not sure that appending from a temp cursor would help - wouldn't I get the same message?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform