Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLToCursor() problem.
Message
From
11/03/2002 13:07:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
XMLToCursor() problem.
Miscellaneous
Thread ID:
00631078
Message ID:
00631078
Views:
65
Hi Everyone!

I have used for the first time CursorToXML to do just that, and XMLToCursor to recreate the cursor.

In the translation back to a cursor, the first field, nRecno, originally having a numeric value of 1 (see below for XML fragment)
<nrecno>1</nrecno> 
is being converted to .T. in the in the nRecno column of the new cursor.

In the CursorToXML call, I am simply stating the following :-
Cursortoxml('csrCandidates', 'cXml')
in the receiving object with its own private datasession, I am stating the following :-
Xmltocursor(m.cXMLIn, 'csrCandidates')
Any ideas why 1 is getting converted to .T. ?

Win2000 SP2, VFP7 SP1.

Thanks.

-=Gary
-=Gary
Next
Reply
Map
View

Click here to load this message in the networking platform