Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting a BMP into a General Field
Message
From
14/10/2002 15:09:06
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00711050
Message ID:
00711086
Views:
12
hi,
Thanks I got it to work. Just the way you describe here.

I'm using just one bmp per report.

Andy

>Are you printing the same BMP for all detail records in the report ... or does each detail record have a different BMP? Instructions for both are as follows:
>
>
>#1 -- Same BMP for entire report:
>
>Define a local variable in the code that calls the report and set it to the full path name of the BMP.
>
>#2 -- Different BMP for each detail record:
>
>Add a character field to your table or cursor that the report runs from. In that field, store the full pathname of the BMP for each detail record.
>
>For both #1 and #2, define the report as follows. Add a picture object to the report. Set the "PICTURE FROM FILE" to either:
>
>#1: the local variable (e.g. lcBMPName)
>#2: the name of the field (e.g. MyTable.MyField)
>
>Notice that I said "FILE" and not "FIELD" which is a common mistake. Also, be sure to select the "Scale Picture / Retain Shape" option so the BMP is adjusted to fit within the area you define.
>
>I hope this helps,
>Cathy
Previous
Reply
Map
View

Click here to load this message in the networking platform