Crystal Reports Insert Image programatically

1)Save a default “Not Available” image in your images folder (you
can download one from google small images).
2)open crystal reports
3)Go to the Insert menu.
4)Click on Picture.
5)A window will open for you to choose a picture, choose the
default one from step 1.
6)click ok and place it on the report.
7)Right click the image & click Format Graphic.
8)In the form that will open, click on the “Picture” tab.
9)Click on the formula button next to “Graphic Location”.
10)In the formula editor that will open, just select the path
field from your table and save the formula.

Now what will happen is that the formula will be checked first to
get the file from the path, if the file was found it will be
displayed. If it wasn’t found then the “Not Availabel” image
will be displayed.

Leave a Reply

You must be logged in to post a comment.