M
Matt Stead
During the development of a largish InfoPath form i have needed to make use
of several event handlers for populating dynamic tables. I am only
interested in the "Insert" eventObj.Operation calls.
During one of these events if i have a large number of rows in a dynamic
table that require updating i am getting the following error:
An error occured in the form's code. The number of calls to the
OnAfterChange event for a single update in the data exceeded the maximumm
limit.
This is being caused because a procedure that does the data updates on each
row calls a node.replaceChild(new, old) call which then causes an
OnAfterChange event to be raised for that data item, and so on.
Is there a way to disable the event handlers until after the bulk update has
completed?
of several event handlers for populating dynamic tables. I am only
interested in the "Insert" eventObj.Operation calls.
During one of these events if i have a large number of rows in a dynamic
table that require updating i am getting the following error:
An error occured in the form's code. The number of calls to the
OnAfterChange event for a single update in the data exceeded the maximumm
limit.
This is being caused because a procedure that does the data updates on each
row calls a node.replaceChild(new, old) call which then causes an
OnAfterChange event to be raised for that data item, and so on.
Is there a way to disable the event handlers until after the bulk update has
completed?