Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing a private data session from another form
Message
From
23/06/1999 07:43:53
Kenneth Downs
Secure Data Software, Inc.
New York, United States
 
 
To
22/06/1999 19:08:15
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00232540
Message ID:
00232877
Views:
24
>>James,
>>
>>ThisForm.DatasessionId = loFormA.DataSessionID
>>
>>or:
>>
>>SET DATASESSION TO (loFormA.DataSessionID)
>
>I've just discovered that if I do that, my form's grid loses RecordSource. Take care of that.

That's because the recordsource no longer exists -- you are now in a different datasession. You want to set the datasession before the grid initializes, such as in the LOAD method.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform