Solved

Crystal Reports Dynamic Header Graphic

Posted on 2013-12-11
2
664 Views
Last Modified: 2013-12-11
Hello experts -

I have created quite a few reports with the same static graphic header.  However, when there is a new graphic I am forced to open each document to insert it.  Is there any way to insert a graphic place holder that just points to a central location so at run-time the graphic will be inserted into the report?  That way whenever a report is run, the latest header will be in the report.

I have looked into the dynamic graphic option but I am not sure that is what I need as I still need to insert a graphic as the placeholder.

Thank you.

Lisa
0
Comment
Question by:lcallah93
2 Comments
 
LVL 26

Accepted Solution

by:
Kurt Reinhardt earned 500 total points
ID: 39711936
What version of Crystal Reports do you have?  If it's XI R2 or above you can set a central location for your graphics.  To do so, you:

1)  Insert a picture
2)  Right-click the picture and select Format
3)  Go to the Picture tab
4)  Click the formula button for "Graphic Location"
5)  Within quotes (single or double), put the file path (preferably full UNC if you distribute the report) and file name, such as "C:\image_directory\file.jpg"

Whenever you replace the existing file with a new one, make sure you use the same name and the report will always show the current image.

If you need this to be dynamic, based on a data value, such as customer logos then you would use a formula such as:

If {table.customer} = 'abc company' then "C:\image_directory\abclogo.jpg" else...

If you're using BusinessObjects Enterprise or Crystal Reports Server then you can upload images to the repository.
0
 

Author Closing Comment

by:lcallah93
ID: 39712109
That is exactly what I wanted - thanks.

I was hung up on the fact that I cannot use a place holder field but I can just use any graphic as a place holder.

I tested and it works!!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now