Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form with private datasession calls a .prg. What happens
Message
From
08/05/1998 02:12:57
 
 
To
05/05/1998 12:16:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00097056
Message ID:
00097935
Views:
19
Hola Carlos,

>When i call a .prg from a form which has a private datasession, the program opens another datasession for all the cursors or tables.
>To solve this, i pass the datasession as a parameter and issue a 'set datasession to (parname). Is there another better solution to do this ???

What's wrong with the way you're doing it? In a private datasession the datasessionID can be unpredictable and that sounds like a good way to handle it and the way I've handled it in the past.

Suerte con la problema!

John
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform