report image - can shrink?

A

anna_717717

Hi all

I've created a report with an image control. Not of of my records have an
image associated with them. Is it possible to 'shrink' the image control if
there is no image to display?

Thanks
 
A

Arvin Meyer [MVP]

To my knowledge, Image controls do not have a CanShrink property. I haven't
tried this, but:

You might be able to use the OnFormat event to check the Picture property of
the report and reduce the size of the Image control to zero, if the property
is an empty string. The detail Section does have a CanShrink property, so it
may (with or without more code) shrink.

Most of the time, people expect a picture, so when there isn't one, a "No
Picture" image is usually put in its place.
 
Top