Find crystal connection string

Posted on 2006-11-16
Medium Priority
Last Modified: 2008-02-26
Hi All,

I am a total crystal reports newbie who is working with crystal reports 10. How do I find the connection string that a pre-existing report is using?

Thanks in Advance.
Question by:lunch_is_4_wimps
  • 3
LVL 101

Expert Comment

ID: 17958858
What are you trying to do?

As far as I know there is no way in Crystal to retrieve the string.

You could open the report file in Word or other test editor and simply scroll through until you find it.

LVL 13

Expert Comment

ID: 17963209
Do you want the SELECT statement? Or do you want the connection string that is used to connect to the db  in the first place, if so, what would you need it for?

Author Comment

ID: 17964536
I was trying to find the connection string to connect to the db. One of our sites was disconnecting from the db when we ran crystal reports, I was trying to debug the possible cause of the problem be seeing the connection string that crystal was using.
LVL 101

Accepted Solution

mlmcc earned 1500 total points
ID: 17965484
When I opened a report in MS Word I was able to see the connection string.  There may be a way to get at it programmaticly but I don't know how.

You might check the report documentors at

LVL 101

Expert Comment

ID: 18114811
Glad i could help


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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. …
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…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Watch the video to know the simple way to remove or recover or reset lost or forgotten passwords of Outlook PST file. With Kernel Outlook Password Recovery tool such operation is very easy to perform. It is a freeware with limitation to use with 500…

624 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