Results 1 to 1 of 1
2001-11-08, 16:27 #1
- Join Date
- Feb 2001
- Richland, Washington, USA
- Thanked 0 Times in 0 Posts
Shrink Detail Section when image is not visible (2000/9.0.4002 SR-1)
In a report I include an image object in the detail section. I want to show this image only when a certain criterion for the record is met. To do this, I set the Visible property accordingly during the Detail_Format event. This all works fine.
The problem is that for some records, the height of the image is greater than the data I'm displaying. I'd like the detail section to shrink to the height of the data when the image is not visible. Currently, if the data does not extend as far down the page as the image (which may be hidden), the detail height is determined by the image, even when the image is not visible. Is there a way to have the detail height determined by only the data, when the image is not visible?
I have all the Can Shrink properties set to Yes (the image object doesn't have a Can Shrink property, though).
Thanks for any help.