Operations on DOM nodes take a long time when you process a very large amount of data in InfoPath 2003 (888702)
The information in this article applies to:
- Microsoft Office InfoPath 2003, Service Pack 1 (SP1)
- Microsoft Office InfoPath 2003
SYMPTOMSIn Microsoft Office InfoPath 2003, when you process a very large amount of data, you may notice that the operations on Document Object Model (DOM) nodes take a long time.CAUSEWhenever data in an InfoPath DOM is changed, InfoPath 2003 maintains the earlier version of the data so that you can use the Undo command on the Edit menu if you want to undo the change. When the amount of data in the DOM is very large, InfoPath 2003 may take longer than you expect to display the earlier version of the data after you run the Undo command.WORKAROUNDTo work around this problem, follow these steps: - Create a new DOMDocument object.
- Use this DOMDocument object to perform the change to the data in the form. Because the DOMDocument object that you create does not maintain the earlier version of the data, the DOMDocument object will not experience the performance slowdown that occurs in the main InfoPath DOM.
- Copy the data from the new DOMDocument object back into the main InfoPath DOM.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Major | Last Reviewed: | 4/1/2005 |
---|
Keywords: | kbtshoot kbprb kbbug KB888702 kbAudDeveloper kbAudITPRO |
---|
|