Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create form programatically with private datasess
Message
 
 
To
27/07/2000 15:24:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00397819
Message ID:
00397823
Views:
8
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform