PRB: Error 40069 Update Resultset Returned from Stored Procedure (177186)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q177186 SYMPTOMS When you are updating a recordset returned from a stored
procedure using ClientBatch cursor driver, and you do not specify the source
table and the key column, the following errors occur: Run-time error '40069':
Client Cursor: 39 - One of the
modified columns has no source table defined CAUSE When you perform a SELECT query or a join to build the
resultset using a stored procedure, the source table and key column information
is not filled in. This occurs because the ODBC layers cannot parse the SQL
query to point back to the table and key column from where the chosen column
draws its data. RESOLUTION You have to provide SourceTable and KeyColumn properties in
code in order to update resultsets returned from the stored procedure using
ClientBatch cursor driver. STATUS This behavior is by design. REFERENCES "Hitchhiker's Guide to Visual Basic and SQL Server,"
Microsoft Press. ISBN: 1-57231-567-9
Modification Type: | Major | Last Reviewed: | 11/5/2003 |
---|
Keywords: | kbprb KB177186 |
---|
|