Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I display an embedded bitmap on my form and repor
Message
From
13/12/2001 23:11:41
 
 
To
13/12/2001 07:52:11
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00593788
Message ID:
00594237
Views:
18
Andrew,

Another option: Don't store pictures in general fields. In your table, simply store the file names of the pictures. This will make your tables smaller and more manageable...general field bloat causes the tables to be *much* larger than the sizes of the picture files themselves.

You gain a lot of flexibility, you will avoid the issues you are having now, and it is easy to display them on forms with the picture control and on reports.

For more info on displaying on report, see Faq #7862.

HTH,

steve

>I am having trouble getting bmp files embedded in a general field in my database to display on the form and in reports.
>
>Command used is:
>
>APPEND GENERAL signature FROM bitmap\thursday.bmp
>
>When I place an OLEBound control on the form with controlsource=signature I get a small black square with the caption "Thusday.bmp" instead of the picture I wish to get.
>
>The same result when I place the OLEBound control on a report with the field set to signature.
>
>Is this behaviour by design, or am I missing something? What is the correct way to get the desired result?
>
>Thanks in advance,
>
>Andrew
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform