Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass datasession to another form
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00949759
Message ID:
00950087
Views:
15
>João,
>
>>Hi have the DataSession to default. Any other guess.
>
>If your two forms are set up the way you say then the datasession is there. You may need to 'activate' it by placing a SELECT statement for the main table in your Load() or Init() event.
>
>I've found that making one of the tables 'active' in that way makes everything wake up and start acting like it is supposed to.
>
>There is one catch, though. Say you have three forms that start out, the first starts the second, and the second starts the third. The third form in the chain won't be able to inherit the private datasession of the first.

Sure looks like it works to me. No extra code needed in the Load of 2nd or 3rd forms, either.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform