I have a relatively simple report form with an image control in a group header.
A different picture should appear for each group in the report. When I "Open" the report, the images do not appear on the screen. When I select Print Preview, the images appear on the correct pages as they should.
I am using MS Access 2007 in compatibility mode (2003)
The image properties are
"Picture Type" is Linked ,
"Mode" is Stretched.
"Visible" is Yes
In the group On Format event the following code is run:
Me![imgctrl].Picture = Me![PictureFileSpec]
where PictureFileSpec is a string full path to the .jpg image to be shown.
I am pulling my hair out trying to figure out why the screen display of the report does not show the picture. But the Print Preview does. Is there another event fired for screen use that I need to utilize that is different for printing? Is there a property setting I am missing?