Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing a private data session from another form
Message
From
22/06/1999 14:01:04
Kenneth Downs
Secure Data Software, Inc.
New York, United States
 
 
To
22/06/1999 12:05:05
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00232540
Message ID:
00232610
Views:
14
James,

ThisForm.DatasessionId = loFormA.DataSessionID

or:

SET DATASESSION TO (loFormA.DataSessionID)

>This has been answered here before, but I'm blessed if I can find the thread.
>
>I have formA with a private data session.
>
>On formB I create a reference to formA, call it loFormA.
>
>When I try to access a table in loFormA's data environment, I get a "not found" error -- but only if the datasession for formA is a private data session.
>
>How do I get a reference to formA's private data session so I can used it with loFormA on FormB?
>
>Thanks,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform