Search code examples
c#crystal-reports

Crystal reports dynamic logo(image)


i am using visual studio 2010 and trying to add a dynamic image into the crystal report, i dont want to use dataset, how could i assign a URL to the image, and just change the image with the same name (ex: c:\logo.jpg different image than the existing one but the same name) and the report read it.

thanks for your replies


Solution

  • Before doing anything make new parameter (string) which will be presenting your URL of your image.

    Then insert picture in your Crystal Report (1)(choose some default picture, blank or whatever picture). Next right click on picture and Format Graphics (2). Go to section Picture (3) and write down formula for URL.

    Picture of step 1, 2 and 3.

    Setup

    Simple and easy

    Hope it helps