Add Method

Applies To   See Also   Example  

The Add method adds a parameter value to the parameter values collection.

Syntax
Sub Add(
    pParameterValue As ReportParameterValue)
Parameters

pParameterValue

The parameter value that is being added to the collection.

Remarks

If the function is not successful, it returns an error. Once you have added a value, be sure to call InfoStore's Commit Method in order to write the changes back to the APS.

Note that you can add both Range Parameters and Single Parameters; that is, both the ReportParameterRangeValue Object and ReportParameterSingleValue Object can be used. If this method fails, it returns an error. Please see the section Error Codes for a list of errors and their descriptions.



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