XML, eh? Never heard of it, so now's the time to learn. Thanks, it looks quite easy.
Jim
>Jim,
>
>You can pass it as XML with help of CURSORTOXML() and XMLTOCURSOR().
CREATE CURSOR mycursor (classID I, YN C(1))
>INSERT INTO mycursor VALUES (1, "Y")
>INSERT INTO mycursor VALUES (2, "N")
>lcXml = ""
>CURSORTOXML("mycursor", "lcXml", 1, 0, 0, "1")
>XMLTOCURSOR(lcXml, "mynewcursor")
>
>
>>Beginning to learn about private datasessions ---
>>
>>I have a problem with the interaction of two forms, both of which have private datasessions.
>>
>>Form A shows a grid with calculated data for all parts in our system. All parts are assigned a "class ID". There is a simple cursor which allows the user to select which class IDs are visible. (Only two fields in this cursor: class ID and Y/N flag).
>>
>>The user can invoke Form B from a pop-up menu. This form contains the relevant information which is editable for each part.
>>
>>What I'd like to be able to do is to have the list of items in Form B that appear to be the same as those as the user saw on Form A. I don't know how to do this, as I don't know how to pass my simple two-field cursor from Form A to Form B.
>>
Jim Nelson
Newbury Park, CA