DefaultValues returns a collection of default values for the user to choose from, for the current value of the parameter. Read
Property DefaultValues As ReportParameterValues
If the DisallowEditing Property is set to True, then only these values may be selected to be the current value for the parameter. If the EnableMultipleValues Property is set to True, then more than one of these values can be chosen. To investigate how many default properties exist, use the ReportParameterValues' Count Property. Although the return type is specified as a ReportParameterValue, what is actually returned is a ReportParameterSingleValue Object or a ReportParameterRangeValue Object. That is, this collection stores both types of objects.
Use the IsRangeValue Property and IsSingleValue Property to determine the kind of value. The default values are sorted according to the PickListSortMethod Property.
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |