Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Merging databases
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00348170
Message ID:
00348172
Views:
19
>Hi all,
>
>After spending over half a day trying to get codebook to generate a skelleton app for me, I found that this new app has its own database.
>
>According to the documentation you may have more than one database in a codebook app, but after the hell I just went through trying to do something supposedly simple, I'm not inclined to run more risks than strictly needed.
>
>I have another project in which I started creating the database, and would like to bring those tables/relationships/ir's into the new one.
>
>Is this possible? How? Heeeeeeeeelp!
>
>Thanks!
>
>Alex

Alex, try to open both databases, then do like this:

use mytable && from database1
COPY TO c:\database2dir\mytable.dbf WITH CDX DATABASE mydatabase2

Check out also Help for COPY TO command for more options.
You will need to set relationships in a new database manually.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform