GetTransferStatistics method

Applies to

Example

Description

Returns the Transfer statistics for a specific form definition.

Syntax

[ReturnValue =] Object.GetTransferStatistics (FormDefNo, TransferredForms)

Part

Data type

Description

Object

Object

An object expression that evaluates to an object in the Applies to list.

FormDefNo

Integer

The number representing the form definition in the job from which statistics are gotten.

TransferredForms

Long (ByRef)

The total number of processed forms for this particular form definition.

Settings

1 <= FormDefNo <= Object.NoOfFormDefs

Return value

Data type: Integer – the return value is 0 if it succeeded, otherwise non-zero. See Event return value constants.

Remarks

If this method is used while running a job then the result is a snapshot. Use this method in the JobStopped event to get the total statistics for the entire job session.

Classic method

GetTranRefStat