Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-11-08
5
Medium Priority
?
986 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
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 2000 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

885 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