Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Xmltocursor returns .T. for 1
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement