I have many business objects which, logically, should reside in their own datasession but don't as they receive/produce cursors from/for their "parent".
Therefore my regime for opening/using tables is:
SELECT 0
USE mydb!mytable AGAIN
this.cMyTable = ALIAS()
SELECT *;
FROM (this.cMyTable) ..........
To save this "fiddling" I am considering making all such objects have their own datasession (eg. Use session class) and using XML where cursors are needed as input or need to be passed out into the parent session.
Is this the way to go about it ?
Cheers,
Jamie
Cheers,
Jamie