Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Picture variable Post Reply Post New Topic
Author Message
kezza
Newbie
Newbie


Joined: 08 Mar 2012
Location: Netherlands
Online Status: Offline
Posts: 19
Quote kezza Replybullet Topic: Picture variable
     Posted: 08 Mar 2012 at 3:48am
Is it possible in CR that an variable will be linked with a picture.
On a network I have different pictures. When a variable in CR is for example "A" then CR must show the picture linked with A and so on.
 
My question is: is this possible and if yes, how ?
 
Thank you in advance.
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 08 Mar 2012 at 5:46am
it is possible
1.Right-click the static OLE object that you inserted, and choose Format Graphic from the shortcut menu.
2.In the Format Editor, click the Picture tab, and then click the Conditional Formula button adjacent to the Graphic Location label.
3.write a formula like
if table.field = "A" then "C:\pictures\picturename.JPG" else.....

IP IP Logged
kezza
Newbie
Newbie


Joined: 08 Mar 2012
Location: Netherlands
Online Status: Offline
Posts: 19
Quote kezza Replybullet Posted: 11 Mar 2012 at 11:42pm
Thanx. I will give it a try and then I tell you if it works...
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum