Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorToXML with memo fields
Message
From
23/09/2011 14:22:03
 
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:
01524530
Views:
69
Unfortunately that is a MySQL database and when I create a blob field in MySQL it gets converted into Gen when I execute query,

Looks like I need to look for another solution, exlcude that field from the XML and handle it separately.

>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?
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform