Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert Pic in table
Message
De
07/09/2002 07:21:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
07/09/2002 01:28:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00697858
Message ID:
00697889
Vues:
13
>Hi,
>
>How to insert a picture (jpg) into a general filed?
>
>TIA
>Nafees

While this is possible, many developers here on the UT (including me) don't recommend it, for two reasons:

1) A general field takes up much more space than a JPG file. For instance, on testing, including a 50 KB JPG file in a general field made my file grow by more than 1 MB!

2) It is difficult to get the JPG file back out of the general field. VFP has no built-in way of doing this.

The recommended approach is to keep the filename in a character or memo field.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform