Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorToXML with memo fields
Message
From
23/09/2011 13:53:38
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01524503
Message ID:
01524527
Views:
75
Don't you need to use strconv() to convert the binary data into text, and back?

>Make sure that field with JPG is either Memo(binary) or Blob.
>
>>
>>I have a cursor with a memo field that stores a JPG file.
>>When I do
>>
>>CURSORTOXML(ALIAS(),"test.xml",1,8+512)
>>
>>Then the next line causes an error:
>>
>>XMLTOCURSOR("test.xml","testme",512)
>>
>>Message: "An invalid character was found in text content"
>>
>>So far no luch playing around with the Flags parameter. Any ideas?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform