Re: Graphics in Report
- From: "Larry Linson" <bouncer@xxxxxxxxxxxxx>
- Date: Sat, 21 Jun 2008 18:20:53 -0500
If you click on the properties and assign a GIF file to an Image Control,
and never change it, it is working properly to show that picture every time
the Image control is displayed. What did you think it was supposed to do?
If, however, the Image control is in the Detail Section, so that each of the
"5 unique 'Pages'" in the Report is actually a Detail Section, you could, in
the OnPrint or OnFormat event, set the Picture property of that Image
Control to the appropriate image file location (path and filename) to show
the picture that applies to the particular record.
Larry Linson
Microsoft Office Access MVP
"DanRoy" <DanRoy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E97347DC-31B1-43B7-B917-FC7270AB54A5@xxxxxxxxxxxxxxxx
I am designing a report which contains an Image Control. Within the
application, I have a table, "ECP Schedule Picture",which is linked to the
key sort field for the report and a second field containing the filepath
"[ECP Picture link]" and name of the 5 GIF corresponding to the 5 unique
"Pages" in the report. Clicking on the Image Control, I edited the
properties to identify one of the GIF files directly, ie
C:\test\ECP0412.gif.
If I run the report with a defined GIF entered in the ImageControl.Picture
field, I see the same GIF for all 5 pages of the report. I want to
display
each of the unique GIF files with the corresponding key field on the five
pages of the report.
I Have tried loading the picture field with [ECP Schedule Picture]![ECP
Picture link] with no success. I have tried loading the hyperlink fields
in
properties, also with no success. I do have some VB code in my
application.
How would I relate a section of VB code to control what is displayed in an
Image Control as each page of the report is prepared?
.
- Follow-Ups:
- Re: Graphics in Report
- From: DanRoy
- Re: Graphics in Report
- Prev by Date: Display text based on date query
- Next by Date: Re: Are linked table based subreport in Access possible?
- Previous by thread: Display text based on date query
- Next by thread: Re: Graphics in Report
- Index(es):
Relevant Pages
|