Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Storing a picture
Message
De
21/03/2003 15:26:00
Fabian Belo
Independent Developer
Argentine
 
 
À
21/03/2003 11:30:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00768632
Message ID:
00768757
Vues:
18
I do not recommend to store images (whatever format is) in tables because obvious memory reasons, but an alternative instead general fields (worst election) is memo fields which is more convenient than general.
i.e.

Adding:
select table1
append blank
replace name_id with "Image1"
APPEND MEMO table1.img from "Path_FileName" overwrite
Showing:
*** Change file extension for BMP or GIF
lcFile = SYS(2023)+"\"+Sys(3)+".JPG" 
Copy Memo table1.Img to (m.lcFile)
thisform.Image1.Picture = m.lcFile
>Is there a way in VFP to store a bmp file inside a VFP database? I would like to do this like can be done in Access.
>
>Any ideas?
>
>Thanks
>
>Alan Wyne
>IS Manager
>Rollpak Corp
"Since I've read that alcohol is bad... I quit reading."
Me


http://www.fabianbelo.com.ar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform