Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Views...
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01000823
Message ID:
01000824
Views:
19
This message has been marked as the solution to the initial question of the thread.
Check gentable.prg, genview.prg File #9388

>I have two databases that are very similar. I have views in one that need to be in the other. I get the sql to create them using dbgetprop... and i'm able to create the view in the 2nd database... how do I programatically get a view from 1 dbc to another...with all the same properties....
>
>for example....
>
>set database to data1
>mysql = dbgetprop('v_location',"view","sql")
>
>set database to data2
>CREATE SQL VIEW 'v_location' AS &mysql && create view in database 2
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform