P
Philip
I'm trying to produce a report whose 'detail' section may
vary in height between one record and the next. The
report is based upon a query which contains an OLE
image. The query also contains the display height and
width of the image. I am currently trying to set the
height (and width) of the OLE control via the 'OnFormat'
event associated with the 'Detail' section (eg
Me.OLEfield.Height = Me!DisplayHeight * intTwipsPerCm).
The problem is that the 'detail' section height for the
entire report is set to the maximum height used for any
given record. I've set 'Can Grow' and 'Can Shrink'
to 'Yes' to no avail. I want the section height to vary
(as if 'Can Grow' normally behaves).
vary in height between one record and the next. The
report is based upon a query which contains an OLE
image. The query also contains the display height and
width of the image. I am currently trying to set the
height (and width) of the OLE control via the 'OnFormat'
event associated with the 'Detail' section (eg
Me.OLEfield.Height = Me!DisplayHeight * intTwipsPerCm).
The problem is that the 'detail' section height for the
entire report is set to the maximum height used for any
given record. I've set 'Can Grow' and 'Can Shrink'
to 'Yes' to no avail. I want the section height to vary
(as if 'Can Grow' normally behaves).