Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy/Move Tables between DBCs
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00146036
Message ID:
00146167
Views:
35
>>Is there a way to copy or move a table from one DBC to another and retain all the table info that was in the source DBC?
>Jim,
>You can retain PART of it with COPY TO < tablename > DATABASE < newdbc > WITH CDX
>
>You get your long field names and all your indexes, although the primary is changed to Candidate. Unfortunately other information (caption, default functions) don't get processed.

You can retain those, too (if you need to), by running GENDBC, copy out the part of the code that creates the table to a little separate prg, run that on the new DBC, and then do APPEND FROM the old table.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform