Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create local views programmatically
Message
From
18/05/2009 07:08:50
 
 
To
18/05/2009 05:29:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01400362
Message ID:
01400366
Views:
70
>Hi,
>
>A VFP database has remote views into a btrieve database. Some views pull all data from one table and some filter and join data from more than one table.
>
>I want to create a snapshot of the data in a new DBC. Views that pull all data become VFP tables and parameterized remote views become parameterized local views. The first are easy (thank you Dragan), but how do I create local views programmatically?
>
>TIA,
Hi Alex -

I agree with Agnes - you can create a test database, add a test table, then create a test view in the View Designer.
Then you can run gendbc.prg, shipped in the Home() folder, to get the Create View statement, and all required DbSetProp() lines.
(FWIW, most of the latter just confirm default values and thus may be superfluous).


hth
-Stefan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform