Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Need to create BLOB from JPEG images to store in Access DB and Display on Form

Posted on 2013-05-22
2
Medium Priority
?
573 Views
Last Modified: 2013-06-07
I have an access 2007 application within which I would like to display pictures (images) of records on a form.  I would like the images to be stored in the db table (i.e. as OLE Objects), and for this, I understand that I need to store them as BLOBs.  My question is, how do I convert JPEG images I have into BLOBs and store them in a table?

Thanks for your help.

Tom
0
Comment
Question by:tpigielski
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 2000 total points
ID: 39188309
Too much trouble IMHO.

If you are using Access 2007 or higher, this is much easier if you store the images in the new "attachment" datatype (and are using the 2007 format: .accdb).
(this uses BLOB technology in the background anyway)

Then this is all easy.

An interface is provided to select (open, save, or delete) the image.
By default, just dropping the image field on the form, will display it.

;-)

JeffCoachman
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 39188324
See this link:

http://office.microsoft.com/en-us/access-help/attach-files-and-graphics-to-the-records-in-your-database-HA001213852.aspx

And again, just creating a form from this table will allow you to simply double-click the image attachment field and add/display the image...

;-)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question