MergeEvent.Index Property
InfoPath Developer Reference |
A read-only property that returns the 0-based index of the form that is currently being merged. Read-only
Version Information
Version Added: InfoPath 2003
Syntax
expression.Index
expression An expression that returns a MergeEvent object.
Return Value
Long
Remarks
The value of the Index property of the MergeEvent object increases from 0 to Count-1 for each merge event that occurs when forms are merged.
When used in combination with the Count property of the MergeEvent object, the Index property can be used to determine when the last form has been merged.
Security Level 0: Can be accessed without restrictions.
Example
This example shows how to use the Index property along with the Count property of an instance of the MergeEvent object to determine if the current form is the last form to be merged:
JScript |
---|
|
See Also