NumOfPromptValues Function

Applies To  

Retrieves the number of available values for a particular prompt.

Syntax
NumOfPromptValues(
    IPROMPTSET_HANDLE i_hIPromptSet,
    int i_iPromptNum,
    int* o_iValueSize)
    Parameters

i_hIPromptSet [In]

The handle to the IPromptSet interface. See hIPromptSet Variable.

i_iPromptNum [In]

The prompt's index number.

o_iValueSize [Out]

The number of values for the prompt.

Returns

Each function returns a RET_VALUE that is an error code of type Long. The return value is greater than zero if the call was successful, and zero or less if not. Use RET_OK(x) and RET_ERROR(x) to check for failure.



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