Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create local views programmatically
Message
De
18/05/2009 07:26:03
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
18/05/2009 07:08:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01400362
Message ID:
01400368
Vues:
57
>>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

Hi Stefan,

You don't need GenDBC. Just rightclick the the View designer, choose "View SQL"

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform