I am working with the embedded CR in VS2010.
Here are the versions I am using
Microsoft Visual Studio 2010 Premium, Version 10.0.30319.1 RTMRel
Microsoft .NET Framework, Version 4.0.30319 RTMRel
Crystal Report, Version 13.0.2000.0
I connect to a SYBASE database using a 'Sybase Server' data source.
So far the report I created is working fine on its own in development mode.
The report also works fine in a CrystalReportViewer on my web page. Also in development mode
I am calling a stored procedure that expects parameters. I am able to change the values of the parameters for the stored procedure.
I can also change the userid and password.
But I am unable to change the ServerName and Database programmatically.
Crystal Report has methods called SetConnection and SetDatabaseLogon
but these methods do not change my server or my database.
Any suggestions on how to fix this?