Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to extract images in Access stored as OLE objects?

Status
Not open for further replies.

Hosacans

Technical User
Dec 15, 2004
64
US
HI All,

the database that i am using is getting to big due to the ole objects. I searched in the Access VBA forum and found that there's a way to display images on reports using a link. I am going to try converting my database to that but first i want to extract all the images i've stored on my base table. since i dont have any back up of it..

any ideas?

Thanks
Hosacans
 
Stephan has several so look around his site. You are welcome.

HTH RuralGuy (RG for short) acXP winXP Pro
Please respond to this forum so all may benefit
 
Dear Hosacans,

It is true that placing OLE objects in a database will cause DB bloat.

Yet, I am always worried that if I store the OLE files on disk/network and use a link, that the files may get deleted or re-located and the report or whatever, will fail or not work as planned.

Usually, the images are only needed occasionally, for reports and the like.

Another suggestion might be to create a separate database, and a table in this database to hold the OLE objects. This table also should have a key.

Then, link that table to your program.
In the table that you originally stored the OLE object, just store the key.

Now you have the best of both worlds.

Your primary database will not suffer bloat from the OLE objects, yet the objects are still stored in one place(DB).

I have used this and it works great.

Just my 2 cents,
Hap...


Access Developer [pc] Access based Add-on Solutions
Access Consultants forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top