Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to store an image in a table
Message
 
À
02/02/1999 09:51:02
Kenneth Downs
Secure Data Software, Inc.
New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00182906
Message ID:
00183371
Vues:
18
Hey Ken,

Good to see you here, too :)

I agree with you in that storing the images in a file is not the best way to go, but the folks I'm subbing this contract for want it that way...and he who pays the bills wins <g>!

>Ken,
>
>Nice to see you here!
>
>FWIW, I used to store images in tables and gave it up as difficult and ultimately not worthwhile. If you must, you do it like so:

>CREATE TABLE MyTest (cPicName C(10),gPicture G(4))
>APPEND BLANK
>REPLACE cPicName with "Test"
>APPEND GENERAL gPicture From "C:\MyPath\Test.BMP"
>
>To empty out the picture, use:
>BLANK FIELDS gPicture
>
>However, I still think it's a bad idea, merely MHO. I store paths to pictures and access them at run-time. I've found it infinitely easier.
Ken Sorce
Team RAD, Inc.
Rapid Application Developers
Ken@TeamRAD.com
www.teamrad.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform