Solved

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

Posted on 2013-05-22
2
532 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
  • 2
2 Comments
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Outlook Free & Paid Tools
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now