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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CR 9 SQL Command and changing the data source 1

Status
Not open for further replies.

tseaman

Programmer
Apr 8, 2002
19
US
I have written a report in CR9 using the new SQL Command feature. It works great. However, now I need to change the way I connect to the database from a DSN to a DSN-less connection string. Crystal associates the SQL command with the DSN connection so when I change the connection type it does not carry over the SQL command. Consequently, Crystal deletes all the fields on the report coming from the command.

Is there any way to switch connections to the same database or to another database with the same schema without rebuilding the report?
 
The first thing that comes to mind is to copy your SQL command to the second DSN, and then use Set location to select the second SQL command.

Saving the SQL command in the repositry might help in the migration. Editor and Publisher of Crystal Clear
 
I tried this out....didn't seem to work. Anybody figured out a solution for this...or stumbled across one? hh...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top