PEAddParameterCurrentRange

Use PEAddParameterCurrentRange to add a parameter range to the specified parameter field of a report. Note that these parameter field capabilities are not currently supported in Web Viewers. See Working with Parameter Values and Ranges.

C Syntax
BOOL CRPE_API PEAddParameterCurrentRange (
        short printJob,
        const char FAR *parameterFieldName,
        const char FAR *reportName,
        PEValueInfo FAR *rangeStart,
        PEValueInfo FAR *rangeEnd,
        short rangeInfo );
Parameters

printJob

Specifies the print job to which you want to add a parameter current range.

parameterFieldName

Specifies a pointer to the string containing the parameter field name.

reportName

Specifies a pointer to the string containing the report name. See Remarks below.

rangeStart

Specifies a pointer to PEValueInfo, which contains the lower bound of the value range.

rangeEnd

Specifies a pointer to PEValueInfo, which contains the upper bound of the value range.

rangeInfo

Use this bitwise value to indicate whether the upper and/or lower bound(s) in the range should be added. Use one or more of the Range Info Constants.

Returns
Remarks

Regarding parameter reportName:

VB Syntax
Declare Function PEAddParameterCurrentRange Lib "crpe32.dll" ( _
    ByVal printJob As Integer, ByVal parameterFieldName As String, _
    ByVal reportName As String, rangeStart As PEValueInfo, _
    rangeEnd As PEValueInfo, ByVal rangeInfo As Integer ) As Integer
Delphi Syntax

procedure PEAddParameterCurrentRange (
    printJob: smallint;
    const parameterFieldName: PChar;
    const reportName: PChar;
    var rangeStart: PEValueInfo;
    var rangeEnd: PEValueInfo;
rangeInfo: smallint;
    ): BOOL stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com