Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image processing
Message
 
 
À
01/04/2015 03:31:58
Muthu Vel
Sty Company
Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01617575
Message ID:
01617614
Vues:
28
>I have Printing.dbf having fields with 1. Regno(I), 2.(Category(C), 3. Rank(I) 4. address(M). I have student address in Image format i.e JPEG. I use below code to store the image in my address field but I have got error message.
>
>code
>lcpicturefolder = ADDBS("E:\Muthu\studentaddress")
>use printing AGAIN IN 0 ORDER regno
>Update printing set address = filetostr(addbs(m.lcpicturefolder) + LTRIM(str(printing.address))7 + ".jpg")
>
>How to store the image in vfp table?

Try using a separate variable, e.g.

lcAddressFileStr = filetostr(...)

update printing set address = lcAddressFileStr

Also, is this address field defined as Memo (binary)?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform