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:
00097979
Views:
29
>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 I do is define the PRG as a method of my application object.

Suppose that I want, somewhere in my form calculate the amount of tax due, I would write:
lnTaxAmnt = goApp.calcTax()

José
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform