Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dataenvironment attached to form as private datasession
Message
From
03/06/2001 02:30:01
 
 
To
01/06/2001 23:16:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00513773
Message ID:
00514283
Views:
14
>how about I create the dataenvironment using coding (.prg) ?
>

Why would you want to do that?

>e.g.
>
>oDe = createobject('dataenvironment')
>
>how can i attach it to a form ?
>
>in form.load
>thisform.dataenvironment = oDe
>
>is this correct ?
>
>thanks

No, you can't do it in the Load because the form doesn't exist yet. You'll need to do it in the Init.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform