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.
BOOL CRPE_API PEAddParameterCurrentRange (
short printJob,
const char FAR *parameterFieldName,
const char FAR *reportName,
PEValueInfo FAR *rangeStart,
PEValueInfo FAR *rangeEnd,
short rangeInfo );
Specifies the print job to which you want to add a parameter current range. | |
Specifies a pointer to the string containing the parameter field name. | |
Specifies a pointer to the string containing the report name. See Remarks below. | |
Specifies a pointer to PEValueInfo, which contains the lower bound of the value range. | |
Specifies a pointer to PEValueInfo, which contains the upper bound of the value range. | |
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. |
Regarding parameter reportName:
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
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 |