jpeg in bound images

hi we have a bound image field, which we want to bind an image to. the problem is it will only accept .bmp, and when we try with .jpeg or .gif, it just displays the filename, any ideas?
OSLAdminAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rockiroadsCommented:
what control are u using to display the image? is it a image control or a bounded control

image controls do display jpegs
0
tbsgadiCommented:
In the table are you using an OLE Object type?
0
OSLAdminAuthor Commented:
the table we are using is an OLE object tipe, and its a Bound control
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

rockiroadsCommented:
in the properties for that control
what is the OLE Class defined as?


suggest u create a unbounded ole control, select create from file, select a jpg and see what you got. The image should be displayed

then compare properties between unbounded and bounded
0
shanesuebsahakarnCommented:
Don't use an OLE object, and don't store your images directly in your database. Use an Image control instead, and display it by setting the filename in the form's OnCurrent event. Store the image filename in your database. See this for more information:
http://www.mvps.org/access/forms/frm0030.htm
0
OSLAdminAuthor Commented:
we did previously just use the filepath, but for doing a report (need the photo in the report for prinint cards) so storing it in the database is a must
0
OSLAdminAuthor Commented:
unless theres a way in a report of using this filepath to populate an image box?
0
tbsgadiCommented:
In the format sub of the section use something like

Private Sub GroupHeader0_Format(Cancel As Integer, FormatCount As Integer)

me.LogoPic.picture=fieldname

Where logopic is an empty image box
0
OSLAdminAuthor Commented:
we have tried that and it seems to have failed. any other ideas?
0
shanesuebsahakarnCommented:
It works so long as you use an *Image* control and not an OLE control. However, you may experience some problems if you don't have a default application to handle JPEG images,
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.