Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Displaying an image in an ms access report based upon data in a linked MS SQL column (type image)

Posted on 2006-11-08
4
Medium Priority
?
282 Views
Last Modified: 2013-11-28
I have probably missed something really obvious but having spent the last couple of hours trying I could do with some help!

Basically I have a MS Access 2000 database which has a linked table to a MS SQL Server table containing a field of data type image which I want to display on a report in MS Access.

The images within the MS SQL Server table are from a third party system and I do not have access to the original image files.

When I open the linked MS Access table it shows the image data as OLE object.

I have tried using an image object on my report and setting the picturedata property but get an error ("The bitmap you specified is not a device-independent bitmap (.dib) format.

I have also tried using an OLE object but could not see how to set it's properties to use the data contained within the table.

Please can anyone help....(I am meant to be producing a report ASAP with the images in!)
0
Comment
Question by:wilmslowhighcheshire
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:Jonathan Kelly
ID: 17897617
might be worth checking this out

http://support.microsoft.com/default.aspx/kb/255632
0
 

Author Comment

by:wilmslowhighcheshire
ID: 17897853
Thank you,

Having looked at this, it would at least provide me with a method for creating a file from the image data stored in SQL and then to set the picture property for an image to this file.

It just worries me that as the report could potentially be required to display upto 60 images I would be writing rather a lot of temporary files.
0
 
LVL 7

Accepted Solution

by:
Jonathan Kelly earned 1500 total points
ID: 17899343
Hi there,

I dont know if there is another way to achieve this.


I think you need to have an ole server installed in order to deal with the images.

I would try importing a couple of records into an access database. Have a look at the BLOB field - what does it say ?

0
 

Author Comment

by:wilmslowhighcheshire
ID: 17904822
Thank you for this.

The BLOB field says that it is an OLE object.

I think to make my life a little easier I will go with your first solution but write a separate app to store all the images as files in a one-off process and then point the reporting app to these instead.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

636 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