Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form with private datasession calls a .prg. What happens
Message
 
 
To
05/05/1998 12:16:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00097056
Message ID:
00097236
Views:
24
>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 we are doing is that we create a custom method in the form and put the program in it. The trouble with this approach is redundancy of coding especially if the program seems reusable, but it is safer and much easier to maintain.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform