Print Page | Close Window

CR in Visual Studio .Net 2010

Printed From: Crystal Reports Book
Category: General Information
Forum Name: New feature request
Forum Discription: Share what features you want to see in the next release of Crystal Reports.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=12574
Printed Date: 02 May 2024 at 8:08pm


Topic: CR in Visual Studio .Net 2010
Posted By: dotNet2010
Subject: CR in Visual Studio .Net 2010
Date Posted: 10 Mar 2011 at 12:29am
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?
 
 
 
 
 



Print Page | Close Window