Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • Last Modified:

Change image in Crystal Reports at runtime

I have a Crystal Report that I need to display an image based on 1 of 3 values in a field. I have three image files that are not in a the database and need to be displayed based on a fields value. I can NOT use VB/C# code to preload a datatable or do any manipulation. The report is called by another program that I have no control over. The program just runs the report and based on what is selected I need to show the correct image.
2 Solutions
Add the 3 images to the report and use Suppress formula to leave just one visible
What version of Crystal?

CR XI and later can use a formula in the formatting of the OLE object to select the image to display.


Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now