J
Jack
Hi there,
I have been working on an application which is to produce reports
showing how printed material is to be arranged on a retail fixture ie
a schematic representation of point of sale material.
Background
I have created a simple blank report which is programmatically
populated with image controls. The image controls are created through
the createreportcontrol (acImage) method. These controls are sized,
named and located on the report according to data entered by the user
using options that are pre-specified. In addition each image control
has its picture path property set at the time the report is run. In
essence the report is entirely dynamic, being rebuilt from scratch
each time the report is run.
The report page (no headers or footers) is very wide at 55cm. I have
specified the print page size as A4 landscape; as a result when
previewed, the page flows over from one preview page to another.
The Problem
For development I initially used the acRectangle control type and set
the controls' backcolor to 25500, so that I could see them clearly in
the print previews. When I run the code with the CreateReportcontrol
type set as acRectangle, a print preview of the report shows all of
the controls on both preview pages.
However, when I set the CreateReportcontrol type as acImage, the image
controls show their image content (ie the picture defined by the path
passed to the picture property) on only the first of the preview pages
and not the second. Strangely, the acImage objects themselves are
visible on the second of the two preview pages (I have set their
backcolor property to 25500)
Printing the report has the same result as previewing in that the
photographic images show on the first page only, while the second page
shows the acImage controls with their color set to 25500.
Any thoughts as to why Access would be behaving in this way?
Those that have ploughed through this far, thanks very much!
Have a great day,
jack
I have been working on an application which is to produce reports
showing how printed material is to be arranged on a retail fixture ie
a schematic representation of point of sale material.
Background
I have created a simple blank report which is programmatically
populated with image controls. The image controls are created through
the createreportcontrol (acImage) method. These controls are sized,
named and located on the report according to data entered by the user
using options that are pre-specified. In addition each image control
has its picture path property set at the time the report is run. In
essence the report is entirely dynamic, being rebuilt from scratch
each time the report is run.
The report page (no headers or footers) is very wide at 55cm. I have
specified the print page size as A4 landscape; as a result when
previewed, the page flows over from one preview page to another.
The Problem
For development I initially used the acRectangle control type and set
the controls' backcolor to 25500, so that I could see them clearly in
the print previews. When I run the code with the CreateReportcontrol
type set as acRectangle, a print preview of the report shows all of
the controls on both preview pages.
However, when I set the CreateReportcontrol type as acImage, the image
controls show their image content (ie the picture defined by the path
passed to the picture property) on only the first of the preview pages
and not the second. Strangely, the acImage objects themselves are
visible on the second of the two preview pages (I have set their
backcolor property to 25500)
Printing the report has the same result as previewing in that the
photographic images show on the first page only, while the second page
shows the acImage controls with their color set to 25500.
Any thoughts as to why Access would be behaving in this way?
Those that have ploughed through this far, thanks very much!
Have a great day,
jack