ole link to jpg

T

Tom Kimberly

I want to see jpg photos in my reports. OLE works ok for bmp files only.
Seems like 98% of all photos are jpgs, so this method is archaic.
Any solutions out there?
 
S

Sylvain Lafontaine

I never used it personally but DBPix from Ammara might be your ticket. It's
not free but there is a trial available for download, so you'll lose nothing
to give it a try.

--
Sylvain Lafontaine, ing.
MVP - Windows Live Platform
Email: sylvain2009 sylvainlafontaine com (fill the blanks, no spam please)
Independent consultant and remote programming for Access and SQL-Server
(French)
 
S

Suenaga

Tom Kimberly said:
I want to see jpg photos in my reports. OLE works ok for bmp files only.
Seems like 98% of all photos are jpgs, so this method is archaic.
Any solutions out there?
 
F

Frank H

You didn't mention what version of Access you're using.
You mentioned OLE, which implies that you are storing your pictures INSIDE
the database as data in a field. Do Not Do That.
Refer to the pictures via a hyperlink datatype in your table.
Use an image control on the report.
You may need to do some VBA on the report to make it work, depending upon
what version of Access you are using.
 
F

Frank H

Oops, mental lapse...been a while since I've done this.
If you use a hyperlink datatype, you will definitely need vba to extract the
filename path from the text stored in the hyperlink field.
Instead, use a text field, and enter the filename path. If I recall
correctly, an image control can then be bound to that text field in your
table. If not, try a bound object control.
Good luck; you'll get it to work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top