Showing a Picture in a Form

rlowden

rlowden
Local time
Today, 11:45
Joined
Aug 28, 2008
Messages
13
I would like to show pictures of individuals on a form. I know how to create an object which links to a picture when I click on the object, but I want the picture to automatically show when the record is opened.

And related to this, will Access automatically resize the picture to fit the size of the object on the form?

Your help is appreciated,
Bob Lowden
 
My suggestion is to look at the Northwind samples - ?
 
i normally take the following approach in order not to bloat my databases

i create an image control from the Toolbox and set the "Picture Type" property to Linked. The i use the onCurrent event of the form to set the path for each picture per record.

If you do a quick search on this forum there are several code snippets how to do this.

will Access automatically resize the picture to fit the size of the object on the form?

The image control has a property "Size Mode" try setting it to Stretch
 
Thanks for the help Maxmangion and Ken. I just found out that Access will only display .bmp without 3rd party support. That's a real bummer. I will look into your other suggestions.

Bob
 

Users who are viewing this thread

Back
Top Bottom