Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Prrint "Datasource Location" Post Reply Post New Topic
Author Message
Fran Losey
Newbie
Newbie
Avatar

Joined: 29 Jun 2012
Online Status: Offline
Posts: 4
Quote Fran Losey Replybullet Topic: Prrint "Datasource Location"
     Posted: 30 Jun 2012 at 9:11am
How can i print the "Datasource Location" in my report Header.  It does not appear there is a field for this assignment.  Thank you.
Conceive, believe, achieve!
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 02 Jul 2012 at 4:59am
There is no way to get this information from inside the report.  You would have to hardcode it or pass it in as a parameter (can't change it base on the param, but you can display the param.)
 
-Dell
IP IP Logged
Fran Losey
Newbie
Newbie
Avatar

Joined: 29 Jun 2012
Online Status: Offline
Posts: 4
Quote Fran Losey Replybullet Posted: 02 Jul 2012 at 5:13am
Thanks for the response.  Surprising!
Conceive, believe, achieve!
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 02 Jul 2012 at 5:40am
It's not necessarily so surprising - Crystal can connect to many different types of data.  For some databases you need a file name, for others you need just a server name, for others you need a server name and a database name.  Then for ODBC connections you need the connection name, which doesn't get you the actual database info - if you need the database info, Crystal would have to access that from the ODBC connection (if that can be done....).  So, it would be a very complex thing to code for this.
 
-Dell
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum