Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Small Jpeg file in XML, possible?
Message
 
 
To
25/07/2008 11:00:24
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01334082
Message ID:
01334095
Views:
21
This message has been marked as the solution to the initial question of the thread.
Yes you can add Blob type field to a cursor and put jpg file into it. Depending on requirements, the CURSORTOXML() or XmlAdapter can be used to convert it to XML.
APPEND MEMO blob_field FROM (lcFileName) OVERWRITE
* or
REPLACE blob_field WITH FILETOSTR(lcFileName)
* or
UPDATE mytable SET blob_field = FILETOSTR(lcFileName) ;
  WHERE ...
>can I include a small jpg file (~20k in size) in a blob field in a cursor and then include that in the XML created there of for uploading to a website?
>
>and how does on get it into the blob?
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform