ACC2000: RecordsAffected Property Incorrect for SQL Pass-Through (209909)
The information in this article applies to:
This article was previously published under Q209909 Moderate: Requires basic macro, coding, and interoperability
skills.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS When you use the RecordsAffected property of a Database or QueryDef object to determine the number of records affected by the Execute method, the value is incorrect for SQL pass-through queries.
CAUSE The RecordsAffected property is not set when you execute a pass-through query.
REFERENCESFor
more information about the RecordsAffected property, click Microsoft Visual Basic Help on the Help menu, type recordsaffected property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information
about SQL pass-through queries, click Microsoft Access Help on the Help menu, type what is an sql query and when would you use one? in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 1/26/2005 |
---|
Keywords: | kbprb KB209909 |
---|
|