Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xmltocursor returns .T. for 1
Message
From
12/07/2004 16:46:28
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Xmltocursor returns .T. for 1
Miscellaneous
Thread ID:
00923464
Message ID:
00923464
Views:
77
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
Map
View

Click here to load this message in the networking platform