|

September 22nd, 2010, 05:16 PM
|
|
Registered User
|
|
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Changing Data Source for report
Quote:
Originally Posted by Raghavendra_Mudugal
Yes it can be.
IF I UNDERSTOOD YOU properly, (you are asking, if data to the report is comming
from one SQL SERVER and you need the same report but the data from the differnt
SQL SERVER without modifing the REPORT)
If yes then it can be done.
Use
ConnectionInfo();
TableLogOnInfo();
SetDatabaseLogon(DBUserName, DBUserPassword, DBServerName, DBName);
to change the data source location of the report.
DBUserName, DBUserPassword, DBServerName, DBName
all are entries in the web.congif file. change the value of the key
and you are done to get the data from the new location.
Hope this helps
With Regards,
Raghavendra Mudugal
|
I'm a very new CR user, trying to make a current report use the data from a different SQL database and not having much luck. If I were to use the entries you note above, where would I actually put them?
|