Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLToCursor() problem.
Message
De
11/03/2002 13:07:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
XMLToCursor() problem.
Divers
Thread ID:
00631078
Message ID:
00631078
Vues:
66
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform