Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Placing a image dynamically Post Reply Post New Topic
Author Message
sampathguru
Newbie
Newbie


Joined: 17 Mar 2009
Location: India
Online Status: Offline
Posts: 5
Quote sampathguru Replybullet Topic: Placing a image dynamically
     Posted: 17 Mar 2009 at 7:13am
Can anyone help me in placing a image on my report page header dynamically?
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 17 Mar 2009 at 10:17am
What do you mean by "dynamically" - is the location dynamic or the image itself?
 
What version of Crystal are you using?
 
-Dell
IP IP Logged
sampathguru
Newbie
Newbie


Joined: 17 Mar 2009
Location: India
Online Status: Offline
Posts: 5
Quote sampathguru Replybullet Posted: 17 Mar 2009 at 8:29pm
Actually I want place a logo in the page header of my report.
The logo could change depending upon the reports I am generating.

I am using crystal report XI.

I tried using the OLE object but all I could get is the link of the logo visible in the report and not the logo.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 18 Mar 2009 at 9:30am
Is there a field in the database or a report parameter that will determine which image will be used?  If so, try this:
 
1.  Put an Image object on the report.  Select an image file as the default.
 
2.  Right-click on the Image and select "Format Graphic".
 
3.  Go to the Picture tab.  There should be a box toward the bottom that says "Graphic Location."  Click on the button.
 
4.  In the formula editor that comes up, put your logic for how to determine which image to use.  Remember that the result has to be the full path and file name for the image.
 
5.  Click on OK and run your report.
 
-Dell
IP IP Logged
sampathguru
Newbie
Newbie


Joined: 17 Mar 2009
Location: India
Online Status: Offline
Posts: 5
Quote sampathguru Replybullet Posted: 24 Mar 2009 at 5:50am
I am getting an error while typing the formula. Can you help me by mentioning the formula that I need to specify in the Graphic Location.

It would be of great help.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 24 Mar 2009 at 8:41am

It depends on where the information is coming from.  What do you have now in your formula?

-Dell
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