Solved

Crystal Reports Dynamic Header Graphic

Posted on 2013-12-11
2
658 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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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 …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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