GetBundleIndex() As Integer

Form object

Returns the form’s index within its batch (the same as the value of the #BatchIdx system variable used in Transfer ).

Remarks

If you use batches with size greater than 32,767 you will get a negative number when retrieving the index with the GetBundleIndex method. To avoid this, use the new COM API BatchIndex property instead.

The Form object