GetBundleNo() As Integer

Form object

Returns the number of the batch the form belongs to (the same as the value of the #BatchNo system variable used in Transfer ).

Remarks

If you use batch numbers greater than 32,767 you will get a negative number when retrieving the index with the GetBundleNo method. To avoid this, use GetLongBatchNo, or the new COM API BatchNo property, instead.

The Form object