Parameter values

When a parameter is retrieved from the ReportParameters Property, it will have two collections of values. The first, the CurrentValues Property, lists the values that are being used; the second, the DefaultValues Property, lists the values that have been added to the report and are used as the default.

Parameter values are discrete or ranged. A discrete value represents a particular, single value, while a range value represents a value between a certain range. When a value is retrieved from one of the two collections, it will be a ReportParameterRangeValue Object or a ReportParameterSingleValue Object. Both objects have methods and properties of their own, as well as those they inherit from their parent object, ReportParameterValue Object. To determine whether a parameter is discrete or ranged, use the IsSingleValue Property and the IsRangeValue Property.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com