Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Small Jpeg file in XML, possible?
Message
 
 
À
25/07/2008 11:00:24
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01334082
Message ID:
01334095
Vues:
17
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform