Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create form programatically with private datasess
Message
 
 
À
27/07/2000 15:24:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00397819
Message ID:
00397823
Vues:
17
>Hi,
>
>When you create a form programatically, how do you create the data environment as a private data session and add its cursors? The form will be saved with myForm.SaveAs().
>
>Thank you very much.
>
>Alex Sosa

Alex,
Set the Datasession property of the form to 2 - Private. When the form instantiates, the DE will be added automatically. To open the your cursors, add code to the Load event to open anything you want.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform