Is goapp an object reference to your application or a reference to your form?
I use a global app object for all my applications and have had problems with the datasession thing.
Personally, I like Carlos' idea of passing the datasession as a parameter, although the calctax() method would work just as well as a method of the form, or as a method of an object contained within the form.
Yogi Kim
Database Systems Specialist
"Specializing in Y10K Solutions."