Store data connection information in config file?
Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2022
Forum Name: Data Connectivity
Forum Discription: How to connect to data sources and export reports
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=1786
Printed Date: 06 Apr 2025 at 7:34pm
Topic: Store data connection information in config file?
Posted By: superpam
Subject: Store data connection information in config file?
Date Posted: 28 Nov 2007 at 4:29pm
In my classic ASP web app that uses Crystal Reports XI, I test on a local server before I upload the files to the production server. I can connect to the sources (SQL Server 2000) just fine. However, the problem is that whenever I edit a report, I have to change the data source location, test it, and then after uploading the modified report, I have to remember to change the data source location back to the database on the live server.
I'd like to reduce the possibility of error in this current scheme. Is there anyway to keep the connection string for a Crystal Report in some sort of config file that I can keep separate on each server?
Thanks in advance.
|
Replies:
Posted By: Ghauri
Date Posted: 10 Dec 2007 at 2:24am
What is this!!!!!!! I am unable to find answer of this question on any forum. Does Crystal Report not have this functionality???
------------- Thanks & Regards,
Ghauri
|
|