By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,916 Members | 1,286 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,916 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
record.

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
record.

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
photo.

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
Share this Question
Share on Google+
1 Reply


P: n/a
"Bill Strass" wrote
I would like a photo to be displayed in
the form, with each person's
record.


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
purpose.

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.