Solved

Crystal Reports Dynamic Header Graphic

Posted on 2013-12-11
2
679 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

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 …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

749 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