PRB: ADO's Field ATTRIBUTE Property and adFldRowID (182351)
The information in this article applies to:
- ActiveX Data Objects (ADO) 1.5
- ActiveX Data Objects (ADO) 2.0
- ActiveX Data Objects (ADO) 2.1 SP2
- ActiveX Data Objects (ADO) 2.5
This article was previously published under Q182351 SYMPTOMS
ADO's field Attribute property will not return "adFldRowID" when checked
against any data sources being accessed through the OLEDB Provider for ODBC.
CAUSE
The OLEDB Provider for ODBC, which is used by default, cannot access this
information because it is not available through ODBC.
RESOLUTION
Use a native OLEDB Provider specific to the data source being used. The
data source must also support a field type that maps to OLE DB's definition
of a row identifier to be able to return a value of "adFldRowID."
STATUS
This behavior is by design.
REFERENCES
For more information, refer to the SDK documentation.
Modification Type: | Minor | Last Reviewed: | 3/2/2005 |
---|
Keywords: | kbDSupport kbprb KB182351 |
---|
|