470,581 Members | 2,375 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,581 developers. It's quick & easy.

Possible to link digital photo to OLE type field in bound frame in a form?

I have a form showing the records of different people.

I would like a photo to be displayed in the form, with each person's

My digital photo > *.jpg type file and I change each photo to *.bmp
format using SnagIt.

I created an OLE type field in the table to store either the embedded
photo or a link to the photo (I'll decide which method to use,
depending on how much each type, embedding or linking, increases the
*.mdb file size).

I created a "bound object frame" in the form, setting the Size mode
property to "zoom" to be able to resize easily.

I can either "embed" or "link" to the *.bmp file for each person's

This is the problem: what the user sees in the bound object frame is
mostly white space, with large text indicating the photo file's name
and a tiny, unrecognizable thumbnail sketch of the actual person's

I need the frame filled with the person's photo. I don't need the
name of the photo file to be shown.

Anyone know what to do?

Thanks in advance for any ideas.
Nov 13 '05 #1
1 2010
"Bill Strass" wrote
I would like a photo to be displayed in
the form, with each person's

The trouble about starting with a preconceived notion of _how_ to accomplish
something in Access is that there may be better ways to accomplish the same

The sample imaging databases at http://accdevel.tripod.com illustrate three
approaches to handling images in Access, and the download includes an
article discussing considerations in choosing an approach. Two of the
approaches do not use OLE Objects and, thus, avoid the database bloat, and
some other problems, associated with images in OLE Objects.

If you are printing the images in reports, to avoid memory leakage, you
should also see MVP Stephen Lebans' http://www.lebans.com/printfailures.htm.
PrintFailure.zip is an Access97 MDB containing a report that fails during
the Access formatting process prior to being spooled to the Printer Driver.
This MDB also contains code showing how to convert the contents of the Image
control to a Bitmap file prior to printing. This helps alleviate the "Out of
Memory" error that can popup when printing image intensive reports.

Larry Linson
Microsoft Access MVP
Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Graham Drabble | last post: by
2 posts views Thread by MZ | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.