Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG?: blobs and CursorToXML/XMLToCursor
Message
From
01/11/2004 14:47:58
 
 
To
01/11/2004 03:25:53
Eyvind W. Axelsen
Profdoc Norge As
Oslo, Norway
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00956461
Message ID:
00956682
Views:
9
>Try the following:
>
>
>Create Cursor curTest (image blob)
>Append Blank
>*!* Select a jpg file from your harddrive here:
>Replace image with FileToStr(GetFile())
>?CursorToXML("curTest", "lcTest", 1, 0, 0, "1")
>?XMLToCursor(lcTest, "curTest2")
>
>
>Observe that after the cursor has been translated to xml and back, the image field is no longer a BLOB, but a MEMO field.

Hi Eyvind,

By default, XMLTOCURSOR doesn't create Blob fields. The reason is obvious - backward compatibility. However, in the final release, there will be a new flag for XMLTOCURSOR to make this happen.

Thanks,
Aleksey.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform