Print Page | Close Window

Adding an image via a formula

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=11035
Printed Date: 02 May 2024 at 3:05pm


Topic: Adding an image via a formula
Posted By: macke
Subject: Adding an image via a formula
Date Posted: 02 Sep 2010 at 11:39pm
Hi
 
I have to insert an image in my report according to the value in a particular field.
 
If @Length = "F" then insert a particular jpeg image, else if @Length = "S" then insert a different image.
 
How can I do this?
 
macke



Replies:
Posted By: saoco77
Date Posted: 03 Sep 2010 at 1:49am
One option would be to insert both images onto the report and then suppress the first image if @Length = "S" and suppress the second image if @Length = "F"


Posted By: macke
Date Posted: 03 Sep 2010 at 2:01am
Hi
 
I was just starting to go down that track myself. Can't get the formula to work at the moment.
 
MACKE
 


Posted By: macke
Date Posted: 03 Sep 2010 at 2:49am

Now works fine.

Right click on graphic and select "FORMAT GRAPHIC" Click on the formula button and enter If mailto:%7b@Lefts%7d=F - {@Lefts}="F " THEN TRUE.
 
Obviously depends on which logo is on the top.
 
MACKE
 



Print Page | Close Window