How to move a bound image control in an Access Report programmatically

Derek Brown
Derek Brown used Ask the Experts™
on
I want to move a bound image control in an Access Report programmatically so that it lines up
with other stuff. I just want to move it up or down or resize the image.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Retired IT Professional
Commented:
In proper event, say detail format event.
image control name: im

to size the width to i inch.
im.Width = 1440

To align it left with field f1.
im.Left = f1.Left
and so on.
Hamed NasrRetired IT Professional

Commented:
In proper event, say detail format event.
image control name: im

to size the width to i inch.
im.Width = 1440

To align it left with field f1.
im.Left = f1.Left
and so on.

To align it right with f1
 im.Left = f1.Left + f1.Width - im.Width

Author

Commented:
Thank you
Hamed NasrRetired IT Professional

Commented:
Welcome!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial