I just had to change datasession in one of the middle PRG files - picking it up from the form.
Can't use the XML conversion (yet) - I'm rewriting a bit at a time. Change the backend first then gradually change the rest of the app.
Thanks.
>For small number of records CURSORTOXML/XMLTOCURSOR would work.
>
>>Thank you Sergey. The form has a private data session but the class doesn't. Just need to figure out how to get the data back to the form now.
>>
>>>Nigel,
>>>
>>>Does your object have private datasession by any chance?
>>>
>>>
>>>>I'm converting my existing app to work client-server with SQL/MSDE backend. I have one command I'm testing at the moment in a method of a class. The resulting cursor exists when the command is done but then 'goes missing'.
>>>>
>>>>I've put debugs in to tell me the alias() but in the method (at end) it exists, then the next line of code (after the line that calls the method) it does not exist.
>>>>
>>>>Can anybody shed some light on this as I'm pulling my hair out here.
>>>>