Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to insert image into mysql table with vfp
Message
 
 
À
24/03/2010 08:00:56
Hee Lim Wang
Fantasy Software Enterprise
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01455978
Message ID:
01456895
Vues:
40
>CURSORSETPROP("MapBinary", .T., 0)
>SQLExec(lnHandle,"select bImage from TableImage","tmp")
>Thisform.Image1.PictureVal=tmp.bImage
>thisform.Refresh
>
>Why my image control in the form still does not show any image ?????

Do you know the original format of the picture file? If you try

strtofile(TableImage.bImage, 'c:\myPicture.jpg') and try to view the file, will it work?
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform