Solved

Crystal Reports Dynamic Header Graphic

Posted on 2013-12-11
2
696 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

623 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