GetRecordNumber()



Description

Calling this will get the number of records of a template index.

This function can be used only from within of 'OnOutputRecord' context method which is to be called in the "Auto" mode only.

Syntax


Function GetRecordNumber( index_or_name )

Parameters:

variant index_or_name (optional)
integer - template index (starting from 0)
string - template name
omitted - the first template

Return Values:

integer - the current processed number of records produced by the template