BUG: DSO Recordset Pointer Is Corrupted If You Use the XML DSO LoadXml Method in Window_onLoad() (290194)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 5.5
This article was previously published under Q290194 SYMPTOMS
If you use the LoadXml method of the Internet Explorer 5.5 XML Data Source object (DSO) to initialize its recordset structure and delete the initial record(s) in the Window_onLoad event procedure, the recordset pointer of the DSO is corrupted. The RecordCount property of the DSO's recordset appears as zero even after you add new records to it.
This problem is specific to the Internet Explorer 5.5 XML DSO and does not occur in Internet Explorer 5.
RESOLUTION
To work around this problem, use one of the following methods:
- Specify the XML that is required to initialize the DSO's recordset structure within the DSO's <XML> tag.
- Persist the XML that is required to initialize the recordset structure in an external file, and reference it in the DSO's <XML> tag with the SRC attribute.
For code that demonstrates these workarounds, see the "More Information" section.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | kbBug kbDHTML kbMSXMLnosweep kbpending KB290194 |
---|
|