Description
Read-only. Returns the page number for the current data image, relative to the batch.
This method is often used with TotalBatchPages to trigger an event. For more information, seeTotalBatchPages (Property) (page TotalBatchPages (Property)).
Applicable Events
AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application, Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify
Syntax
object.CurrentBatchPage (bIncludeAttachmnents)
Parameters
Object is a reference to the Application or Form object. For more information, see Application Object (page Application Object) or Form Object (page Form Object).
CurrentBatchPage is the command.
bIncludeAttachmnents is a boolean parameter which is set to True by default. When set to True, the CurrentBatchPage property includes attachments in the page count. If set to False, attachment pages are not included in the count.
Example
nPageNo = Application.CurrentBatchPage