gregsedwards
Instructor
Hi all,
I have been giving myself a crash course in Access OLE object support over the last few hours, but I still have a few questions.
Here's the situation. I am creating a database to store procedures and instructions. Each procedure record is related to many instruction records. I have created an OLE object field in the instruction record to store a picture (screen shot) representing the instruction. Obviously, not all instructions have screen shots.
When it comes time to print the procedure via a report, I would like to include the screen shot in a bound object frame in the detail section above the instruction's text fields. Different screen shots will be different sizes, so I need to figure a way to dynamically set the height of the control to match the height of the object. Additionally, I don't want to leave a big hole on the page if there's no image to print. I think I can handle resizing the detail section and moving the other controls up to cover a missing graphic, but how do you determine the size of the graphic in the frame?
This would be so much easier if they'd just give bound object frames a CanGrow and CanShrink property!
Thanks in advance for any comments or suggestions. Tek-tips rocks!
Greg Edwards
Technical Instructor
I have been giving myself a crash course in Access OLE object support over the last few hours, but I still have a few questions.
Here's the situation. I am creating a database to store procedures and instructions. Each procedure record is related to many instruction records. I have created an OLE object field in the instruction record to store a picture (screen shot) representing the instruction. Obviously, not all instructions have screen shots.
When it comes time to print the procedure via a report, I would like to include the screen shot in a bound object frame in the detail section above the instruction's text fields. Different screen shots will be different sizes, so I need to figure a way to dynamically set the height of the control to match the height of the object. Additionally, I don't want to leave a big hole on the page if there's no image to print. I think I can handle resizing the detail section and moving the other controls up to cover a missing graphic, but how do you determine the size of the graphic in the frame?
This would be so much easier if they'd just give bound object frames a CanGrow and CanShrink property!
Thanks in advance for any comments or suggestions. Tek-tips rocks!
Greg Edwards
Technical Instructor