FIX: Refreshing ADO Record's Fields Collection Does Not Retrieve Metadata Information (245493)
The information in this article applies to:
- Microsoft Data Access Components 1.5
- Microsoft Data Access Components 2.0
- Microsoft Data Access Components 2.1
- Microsoft Data Access Components 2.1 (GA)
- Microsoft Data Access Components 2.1 SP1
- Microsoft Data Access Components 2.1 SP2
- Microsoft Data Access Components 2.5
This article was previously published under Q245493 SYMPTOMS Using ActiveX Data Objects (ADO), when you implicitly
prepare a recordset by calling RS.Fields.Refresh method, the metadata
information (for example, BASETABLENAME, BASECOLUMNNAME, KEYCOLUMN) is not
available. There are no errors generated when querying for such information.
RESOLUTION The work around is to set the Recordset's "Unique Rows"
property to TRUE. Note that "Unique Rows" is a provider property that is
available only when using the adUseServer cursor location. You may change the
cursor location to adUseClient immediately after setting the "Unique Rows"
property. See implementation details in the More Information section of this
article. STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
Microsoft has confirmed that this is a problem in Microsoft
ActiveX Data Objects 2.6 and later.
You can download the latest version of Microsoft ActiveX
Data Objects from the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 11/5/2003 |
---|
Keywords: | kbBug kbDatabase kbfix kbMDAC260fix KB245493 |
---|
|