Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where can I create a local View?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00121672
Message ID:
00121699
Vues:
17
>>I have a form with private data session. I like to create a local view in the data session but I do not know where is the best place paste the code generated from GenDBC.prg?
>>
>>Is it the Init of the dataenvironment?
>
>The Form Load method is usually soon enough to add tables or views if any of its fields are to be bound to controls. My forms have an AddLoad method that is called by the last line of code on my base form class Load Method. Then I just add code to the AddLoad method for each from I create.

But if the local view has been created as part of the DBC, all you have to do is *use DBName!ViewName* to open it. You can include options like NoData, etc., with the *Use* command.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform