473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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
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
1 2147
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: CHIN | last post by:
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! ) I have to upload a file to an external site, so, i made a .vbs file , that logins to...
0
by: Graham Drabble | last post by:
Hi, I have a table with a field "signiture" that is set with a data type of "OLE Object". If I view the table (in datasheet view) and right click on the relevent cell I can "insert object" which...
0
by: dvorett | last post by:
I know this topic has been discussed a lot but after going through the old posts, I'm still having trouble with the code. I have a photo name field which refers to the location of the photo on the...
7
by: Andy | last post by:
Hi, I have a complicated question that I'm hoping someone can help me out with. I have a webpage that contains a plug-in. This plug-in can communicate/pass data with the webpage that contains it...
1
by: Jozef | last post by:
Hello, I have some blob code that I use to polulate an OLE field with various files. Some of the files are images. The information in the field says "Long Binary Data" regardless of what I am...
1
by: gdgass | last post by:
Hi, I'm in the process of developing an app to scan and archive photos based upon the EXIF/Photo Keyword property. One of the requirements is that the Photo's keywords be editable via Digital...
2
by: MZ | last post by:
Hello! I would like to create similar script which let me (before submitting form) confirm the form. I would like to prevent from autosubmitting form by various users. I would like to create...
0
by: Tarik Monem | last post by:
I have been working on an all AJAX/DOM web site which is set to go live today and I thought I'd share my discoveries with all of you whom have helped me when I have encountered different issues along...
27
fnwtech
by: fnwtech | last post by:
I have been reading the forums, but I really need a step by step. I took a one day vb class about 3 years ago, so I know just enough to be confused! I have a database of students that I have to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.