Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi folks,

Within our database application we have a number of staff, each of whom has a photo saved as a jpg file on the server.
We have developed a report with information about each person and would like to have the relevant photo displayed on the page with the person's info.

I am using Crystal Reports to create the report in a Visual Studio 2008 (VB) application.

The background database is a MySQL database running in a Windows environment.

I have imported the photos into a specific table for the purpose as BLOB data.

In the design mode of the Crystal Report I can see the picture for the first person on the report but when I preview the report the photo is not displayed - only the border of the relevant field.

Can anyone advise how I may achieve the display of a different image on each page of the report.

Thanks in advance,
Jerry.
Posted

For the graphic control in your report, you will have a property that can take a file path. Set that to the field that has the jpg file name. That should do it, I think.
 
Share this answer
 
Hi folks,

Just typical - no sooner posted a help request than I get it working. All fine now. Issue was with importing the BLOB info to the table.

Cheers,
Jerry.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900