Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create local views programmatically
Message
De
18/05/2009 07:08:50
 
 
À
18/05/2009 05:29:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01400362
Message ID:
01400366
Vues:
71
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform