Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I want to access the DSN within Crystal 8.5

Status
Not open for further replies.

dean12

MIS
Oct 23, 2001
273
US
I've got a report for which the DSN will be changed by the program that starts it. Inside the CR8.5 report, I call on some functions that I wrote and placed in a UFL. Some of those functions need to access the same database (same DSN) that the report itself is accessing.

Therefore, I need to get the value of the DSN name so I can pass it to the VB code that I wrote and in there open the database. Thus, I am building a connection string and I have to say something like: "DSN=......;UID=.....;PW=....." and I need the part that goes after the words "DSN=".

Appreciate the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top