Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to save a .PCX graphics file?
Message
De
05/08/1998 11:42:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00124106
Message ID:
00124117
Vues:
20
>I want to store documents in a DB/table that are scanned in as .PCX graphics format. Does anybody know a good way to store and retrieve a .PCX file in a DB/table?
>
>I thought I read that you could make the table field type - memo(binary)
>
>Is that the best field type to use? Also, how do I save the file into that type of field and how do I retrieve it from that type of field?
>
>Besides the VFP CD, I have some VFP books for reference, but none seem to mention how to handle graphics files.
>
>Thanks for your help.
If you're going to have static PCX files than memo(binary) is good. Otherwise just keeping the name is better I think. If you want to keep in memo you would save "append memo myMemoFieldName from myPCXFilename" and to retrieve "copy memo myMemoFieldName to myPCXFilename". With PCXs you could use gen fields also.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform