Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to past a pic in General field
Message
From
13/04/2004 14:25:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00894477
Message ID:
00894528
Views:
8
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform