General information
Category:
Coding, syntax & commands
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only