Solved

Crystal Reports Dynamic Header Graphic

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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Not Exists 3 70
Crystal Reports Groups need Hand Cursor on Hover 4 77
Crystal Reports Date Calculation 10 38
Crystal Reports Version 7 4 26
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 …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

777 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