|
Report Application Server .NET SDK Developer Guide
|
|
Parameters
|
|
A parameter is a report variable that is set by the user and instantiated when the report is refreshed. There are many types of parameters, and programmatically setting different types can result in different behaviors and experiences for users of your application.
Best practices for working with parameters
To avoid runtime errors when setting parameters programmatically, note the following:
- Parameter values must be of the same type as the parameter.
- If the parameter has an edit mask, the values for the parameter should respect the mask.
- When reading parameter values, ensure that you know what type of values you are reading, that is, whether they are discrete or ranged.
- Set the bound type on a range value before adding it to the parameter.
- Ensure that the upper bound of a range value is larger than the lower bound.
Classes used when working with parameters
- CrystalDecisions.ReportAppServer.Controllers.ParameterFieldController
Adds, removes, and modifies parameter fields in a report.
- CrystalDecisions.ReportAppServer.DataDefModel.ParameterField
Represents a parameter field in a report.
In this section:
© 2021 SAP AG. All rights reserved.
http://www.sap.com/sapbusinessobjects/
Support services
http://service.sap.com/bosap-support/
Created with the Personal Edition of HelpNDoc: Full-featured EBook editor