ACC: RecordsAffected Property Incorrect for SQL Pass-Through (163703)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q163703 Moderate: Requires basic macro, coding, and interoperability
skills.
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 with SQL pass-through queries.
This
article assumes that you are familiar with Visual Basic for Applications and
with creating Microsoft Access applications using the programming tools
provided with Microsoft Access. For more information about Visual Basic for
Applications, please refer to your version of the "Building Applications with
Microsoft Access" manual. CAUSE The RecordsAffected property is not set when you execute a
pass-through query. STATUS This behavior is by design. REFERENCES For more information about the RecordsAffected property,
search the Help Index for "RecordsAffected property."
| Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
|---|
| Keywords: | kbprb kbProgramming kbusage KB163703 |
|---|
|