Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create an SQL view in a prg
Message
 
À
05/06/1998 08:14:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00105076
Message ID:
00105146
Vues:
35
Hi Sylvia,

The easiest thing to do is create as much of the view as possible in the view designer, set all of the update properties, etc. Once you've done that run GENDBC against the DBC that contains the view. If you search the the prg generated by GENDBC for your view name you'll find the CREATE SQL VIEW statement followed by all of the necessary DBSETPROP calls. Copy all of this code to a new .PRG file, edit to your heart's content and then run it.
Mike Feltman

F1 Technologies
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform