Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xmltocursor returns .T. for 1
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Xmltocursor returns .T. for 1
Divers
Thread ID:
00923464
Message ID:
00923464
Vues:
78
Hi

I receive xml files which I convert to cursor by using the following command

XMLTOCURSOR(lcXML, "mycursor", 512) , where lcXML is the xml file name. I copies the data from cursor to the dbf table by using recordset like

IF ISBLANK(LvBatch.Pat_rel) = .F.
loRs.Fields("pat_rel") = LvBatch.pat_rel
endif

This works fine except, when all the values in Pat_rel is "1". When it has the value "1", the cursor shows .T. instead of "1" and I get the error. Why is it return .T. instead of value "1" and how can I fix it?

Thanks
Bharat
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform