[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 575
  • Last Modified:

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

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
tpigielski
Asked:
tpigielski
  • 2
1 Solution
 
Jeffrey CoachmanCommented:
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
 
Jeffrey CoachmanCommented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now