>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é