Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to past a pic in General field
Message
De
13/04/2004 14:25:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00894477
Message ID:
00894528
Vues:
7
>I have already more than 300 pic in my folder.It is possibel to replace this pic in banary and display this pic in report

I think it is simpler to keep it in the folder, as separate files.

Please note that JPG or GIF files use much less space than BMP files. JPG is better for photographs; GIF is better for screenshots.

In the report image, where VFP asks you for "filename", use the name of the field instead - the field that contains the filename.

This approach should be simpler than memo binary, and pasting into temporary general fields.


For example, your table "MyTable" can have a field called "MyPicture", character(20) or some other convenient size. This would contain the name of the file on disk, for instance: "picture1.jpg".

The "filename" in the report image would be "MyTable.MyPicture".

HTH,

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