on 10-29-2014 10:28 PM
We upgraded from CR8.5 to CR2013 using VS2012 and cannot use the old way of passing parameters to the report. The way we passed them before was to use this code:
<asp:HyperLinkField DataNavigateUrlFields="LoadNbr"
DataNavigateUrlFormatString="~/reports/rmssalesreceiptnoprice.rpt?Prompt0={0}"
DataTextField="LoadNbr" HeaderText="Invoices No Price" SortExpression="LoadNbr" />
The users would choose a load number from a grid view list from SQL Server. We would like to have the same action to view a report using the new CrystalReportViewer in .NET
How can we translate the old way to the new way and pass the SQL load number to the viewer without having to type it into the parameter field?
Hi Blaine:
See the following:
Crystal Reports for Visual Studio 2005 Walkthro... | SCN
(applies to all VS and CR versions)
Samples are here:
Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
Developer Help files:
SAP Crystal Reports .NET SDK Developer Guide
SAP Crystal Reports .NET API Guide
And don't forget to use the search box in the top right corner. I find simple string like 'crystal net parameter date' give best results.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.