I have made a crystal report in which I pass the database name into querystring. I want to bind that database into crystal report Command. So how is it possible because the report shows the data from multiple database as per selection of user.
I make a webform and use crystal report viewer. I send the database name into querystring.
I will suggest that you should used data table as data source and used a stored procedure or a query where you will decided which database the data will come from.
check this link that will help
http://www.codeproject.com/Articles/28899/Crystal-Report-with-DataSet-and-DataTable-using-C
Related
I have a requirement to consume and display records from webservice in ssrs. From webserice I am able to access and display the records when I was returned as list. but I would like to return the dataset from webservice and consume the columns in ssrs dataset. So I would help to not to create class in webserivce.
Attached is the web service method screen shot and XML query written in ssrs report.
SSRS REPORT XML QUERY:
Webservice method:
I am migrating crystal reports to SSRS reports using a windows app, build based on .net code. Also I need to migrate the connection string with username and password. When I open the rdl post migration, I can see the connection string like shown in below image.
When I click on edit button, username/password is not populated automatically and I'm seeing those fields blank like shown below. I can notice the server name getting populated and not the user name and password.
Is there any property I'm missing the connection string or how can I auto populate user name and password without manual workarounds?
Really appreciate any suggestions.
You may use shared data source instead of embedding the connection info in rdl file. If you have quite a few reports to convert, you may try crystal migration services to convert your reports automatically.
I have a crystal report which contains parameters to enter. It worked perfectly and display data needed. But today it doesn't work any more: when i try to open the report, the popup don't ask for parameters. It asks for: server, user name and password.
I don't change any thing in database...
And i can't identify the problem exactly.
Thank you.
I have a parameter in my report that my user cannot know about for security reasons. But this report also has others parameters.
Is there a way to "feed" these reports without the user intervention? I plan to feed default values to the regular parameters and the appropriate value to the "secret one"...
Details:
-Using Report Viewer User control to display the report in a WinForms app
-Using SSRS 2008R2
-Report is not local
In SSRS you can set a parameter to be hidden in the general tab of Report Parameter Properties.
You can then set the parameter using a default value.
I am new bee in crystal report. I have to call a WCF service which will return some data in entity list, Now i have to bind this data in a report within a asp.net page. I am not able to find how to do it with crystal report.
All the example i have found, they are using static connection with database. Is there any way to accomplish it.Any kind of suggestion, guide or help will be appreciated.
Call your service
Take the returned list from your service and fill it into a DataSet
Put your DataSet into the Reportdocument using the ReportDocument.SetDataSource(yourDataSet) method http://msdn.microsoft.com/en-us/library/ms226127(v=vs.80).aspx