PickListValues Property

Applies To   See Also  

The parameter values that are contained in the pick list file. Read-Only.

Syntax

Property PickListValues As ReportParameterValues Collection

The syntax has the following parts:

Part Description

Index

The index of the pick list value you wish to access.

Properties

One of the properties of the pick list value that are documented under the ReportParameterValue object.

Remarks

The PickListValues property lists all the values in the pick list file, which is specified by the PickListFileName Property. It is a ReportParameterValues Collection, which stores ReportParameterValue Object. To check how many values are contained in the pick list file, use the member variable Count. For example:

Object.PickListValues.Count

Note that while this collection stores ReportParameterValue objects, it actually stores both ReportParameterSingleValue Object or a ReportParameterRangeValue Object, and that you may retrieve either one of these when accessing this collection. Use the IsSingleValue Property and IsRangeValue Property to determine what sort of parameter value you have.



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