Solved

Find crystal connection string

Posted on 2006-11-16
5
740 Views
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.
0
Comment
Question by:lunch_is_4_wimps
[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
  • 3
5 Comments
 
LVL 100

Expert Comment

by:mlmcc
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.

mlmcc
0
 
LVL 13

Expert Comment

by:EwaldL
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?
0
 

Author Comment

by:lunch_is_4_wimps
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.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 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
http://www.kenhamady.com/bookmarks.html

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 18114811
Glad i could help

mlmcc
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

Suggested Solutions

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…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

738 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