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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying Images or Photos in a Crystal Report prior to v11

Formula Help

Displaying Images or Photos in a Crystal Report prior to v11

by  dgillz  Posted    (Edited  )
As a general rule, prior to version 11 Crystal Reports as a stand alone tool cannot display photographs or Images in the details section of a report unless the images themselves are stored in the database as a blob field.

The path of the photo is not good enough. This does not work. No version of crystal reports supports this functionality.

The only way you can display the image based on the path is to use the Crystal Report Designer Component - RDC - in conjunction with VB and to programatically change the properties of the photo image at run time.

Without using VB, I know of 3 workarounds:

1) Display the path of the image on the report as a hyperlink and let another application such as Internet explorer actually display the image on demand - on a mouse click.

2) Overlay several static images on top of one anther, then conditionally suppress the ones you do not want.

3) Go to www.chelseatech.co.nz.
They have a utility cViewImage which builds a data set which allows you to place the image on your report from the file path and name of the image.
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top