How To Use the ODBC API Function SQLExecDirect with RDO (154046)
The information in this article applies to:
- Microsoft Visual Basic Control Creation Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q154046 SUMMARY
Because RDO exposes the hEnv, hDbc, and hStmt properties of the ODBC API to
the programmer, you are able to utilize ODBC API calls in conjunction with
RDO. This can be helpful if RDO does not implement a feature of the ODBC
API that you would like to use.
This article gives an example of how to use the ODBC API SQLExecDirect
function in combination with the RDO rdoConnection.hDbc property to execute
SQL without the use of the rdoConnection.Execute method.
REFERENCES
Building Client/Server applications with Visual Basic Manual, Chapter 10,
"Using the ODBC API."
ODBC 2.0 Programmer's Reference and SDK Guide, MS Press.
Hitchhiker's Guide to Visual Basic and SQL Server, Microsoft Press,
ISBN: 1-55615-906-4.
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbhowto KB154046 |
---|
|