>Sergey,
>
>Hope you don't mind answering another question from me. I was experimenting yesterday and came across what I think is a Private Data Session issue.
>
>I have two classes subclassed from the Session Class - clsData and clsHTML. I've instantiated the clsHTML inside the cls Data class. After creating a cursor in the clsData class, I'd like to pass it to a method in the clsHTML class (oHTML.). This method would wrap an HTML table around the cursor and pass this structure back as a string.
>
>Now, when I create the cursor and try to pass it to the clsHTML class, it disappears.
>
>How can I get the clsHTML class to see a cursor created by the clsData class? This can be done, yes?
>
>TIA,
>
>Dan
You can't pass cursors between private datasessions but you might pass them as an array, an array of record objects etc or pass clsHTML the clsData's DataSessionId (then clsHTML could switch to clsData's session and process cursor).
Cetin