Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving views from Database to other Database
Message
From
21/03/2000 23:01:02
 
 
To
21/03/2000 22:42:44
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00348709
Message ID:
00348719
Views:
23
Hi Mo,

Yes.

Assuming that the base tables are available in the target database, use GENDBC to generate code for the SQL and SETPROPs for the View. Then copy that code to another PRG. In the header of that PRG, put OPEN DATABASE whatever and change all XXX!table references to NewDatabase!table. Run the code.


>
>is there a painless way to copy one view from database to other one??
>
>1- from a similar database
>2- from a different database
>
>Thanks
>Mo
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform