Use to retrieve a value from the specified parameter field of a report. Use PEGetNParameterCurrentValues, to determine the number of values currently held in the parameter field. See Working with Parameter Values and Ranges.
BOOL CRPE_API PEGetNthParameterCurrentValue (
short printJob,
const char FAR *parameter FieldName,
const char FAR *reportName,
short index,
PEValueInfo FAR *currentValue );
Specifies the print job for which you want to determine the parameter current value. | |
Specifies a pointer to a string containing the parameter field name. | |
Specifies a pointer to a string containing the report name. See Remarks below. | |
Specifies a pointer to PEValueInfo, in which the value will be returned. If it contains no value then it will be set to the constant PE_VI_NOVALUE rather than NULL. |
Regarding parameter reportName:
Declare Function PEGetNthParameterCurrentValue Lib "crpe32.dll" ( _
ByVal printJob As Integer, ByVal parameterFieldName As String, _
ByVal reportName As String, ByVal index As Integer, _
currentValue As PEValueInfo ) As Integer
function PEGetNthParameterCurrentValue (
printJob: smallint;
const parameterFieldName: PChar;
const reportName: PChar;
index: smallint;
var currentValue: PEValueInfo
): BOOL stdcall;
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |