Missing 'current' event in reports?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm working on an Access application that uses external images, and store the path for the images in a table.
When I create a form with an image, I managed to load the external pictures in that object, by using the 'Current' event.
I also need a report doing the same thing, but the 'Current' event seems to be missing! But when browsing the helpfiles, you'll get a lot of comments and examples of the report_current event....
Anybody an explanation? I use Access2003, and tried it with both 2000 and 2003 versions of the application.

Many thanks for a reply!
 
jhml said:
I'm working on an Access application that uses external images, and store the
path for the images in a table.
When I create a form with an image, I managed to load the external pictures in
that object, by using the 'Current' event.
I also need a report doing the same thing, but the 'Current' event seems to be
missing! But when browsing the helpfiles, you'll get a lot of comments and
examples of the report_current event....
Anybody an explanation? I use Access2003, and tried it with both 2000 and 2003 versions of the application.

Look at those examples again. Reports have no current event.

Use the OnFormat event of the section containing the image control.
 
Thanks for the reply, but...

first:
<qoute>
Go to the Help topic Add a picture or object and expand the section Add a bound image control.
</qoute>

In the corresponding example you'll find this: Private Sub Report_Current()

Although you're right: a report doesn't have a Current event...

second:
The Onformat event does the exact thing I wanted it to do, so it works!

Thanks again!

Jerry
 
Back
Top