FIX: Invalid Argument Err on Execute Method w/ SQL PassthroughLast reviewed: October 30, 1997Article ID: Q103976 |
3.00
WINDOWS
kbinterop kbprg kbbuglist
The information in this article applies to: - Professional Edition of Microsoft Visual Basic for Windows, version 3.0
SYMPTOMSWhen you open a database using ODBC and use the Execute method of the Database object or property with the SQL passthrough option (value 64) specified, the error "Invalid argument" (number 3001) incorrectly occurs.
WORKAROUNDHere are two possible workarounds. Use either one.
STATUSMicrosoft has confirmed this to be a bug in the products listed above. This problem was fixed in the Compatibility Layer (COMLYR.EXE) update.
MORE INFORMATION
Steps to Reproduce ProblemThe following program results in the incorrect "Invalid argument" error.
Const DB_SQLPASSTHROUGH = &H40 Dim db As Database Set db = OpenDatabase("", False, False, "ODBC") db.Execute "action statement", DB_SQLPASSTHROUGH |
Additional reference words: 3.00 buglist3.00 fixlist3.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |