At start up I create an application object - oapp. In this object I have a method that operates on data- something like:
if cust.type='Business'
return something
else
return soemthing else
endif
which is manipulating data in an open table. If the form this is called from uses a private datasession then the method does not see the cust table. In other words, it appears that the oapp object is scoped to whatever datasession was active or the default when the object was created. Is this right or have I just messed up somewhere? If it is right, why was it designed this way? I am perplexed.
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!