CreateSingleValue Method

Applies To   See Also   Example  

Create a new single value.

Returns
,'ReportParameterSingleValue Object');" >Example  
Syntax

Function CreateSingleValue As ReportParameterSingleValue

Remarks

Check to see what the type of the parameter is, by using the ValueType property if you are to successfully assign it a new value. That is, you cannot create a new string value, when the parameter requires a number.

Once you have created the new value you may modify its contents. See the ReportParameterSingleValue for the list of properties to modify. After modifying the properties, be sure to use the InfoStore's Commit Method to write the changes back to the server. 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