Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using 2 DBCs with the same name
Message
From
27/11/2001 10:01:06
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
27/11/2001 05:25:24
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00586186
Message ID:
00586298
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
Hi Mark you can do the following:
OPEN DATABASE livedatabase
OPEN DATABASE testdatabase
use testdatabase!mytable IN 0 ALIAS testtable
SELECT testtable
COPY TO mytable DATABASE livedatabase WITH CDX
CLOSE DATA ALL
>I often have to work with 2 DBCs with the same name.
>For example my test database and my live database.
>
>If I want to zap the tables in my test DBC and append into them from the live DBC I have to use the full path to the live table.
>
>Is there someway to set an alias to DBC different from its name?
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform