Solved

how to load header image in crystal reports dynamically from Database ?

Posted on 2010-11-08
5
968 Views
Last Modified: 2012-05-10
How to load images in a crystal report from DB. The underlying table has FileName column.

The report should get the application path and FileName from table.FileName column and display in report header.
0
Comment
Question by:senecaglobal
[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
5 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 34083433
Which version of CR?
0
 

Author Comment

by:senecaglobal
ID: 34083814
Crystal reports 2008
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34087764
Insert a default picture, then right click on it and hit 'Format Graphic'
On the picture tab click the formula button by 'Graphic Location' and put the column name in there.
{tableName.logoColumn}
0
 

Author Comment

by:senecaglobal
ID: 34091404
The database column consists of just image name not full path.

i would like to have solution like this

App.path+ columnName
0
 
LVL 13

Accepted Solution

by:
PCIIain earned 500 total points
ID: 34091681
Can you parse the application path out of the file path for the report itself?

If so, the filepath of the report is available using the 'Filename' selection from the 'Document Properties' node in the Functions part of the formula workshop.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

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