ACC2002: Requery Method Does Not Rebind Page to XML Data File (284960)
The information in this article applies to:
This article was previously published under Q284960 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SYMPTOMS
If you change data in an XML file to which a data access page is bound, requerying the page through script does not show the updated data. You may see this behavior if the page is bound at run time or by using the user interface.
CAUSE
The Requery method does not destroy the XML data that was created on initial binding. As a result, the XML document object model does not fetch the current data.
RESOLUTION
To work around this behavior, use the Refresh method of the Data Source Control, as follows:
MSODSC.Refresh
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCESFor additional information about working with XML data from a data access page, click the article number below
to view the article in the Microsoft Knowledge Base:
281863 ACC2002: How to Bind a Data Access Page to XML
Modification Type: | Major | Last Reviewed: | 11/6/2003 |
---|
Keywords: | kbbug kbDAP kbDAPScript kbfix KB284960 |
---|
|