INF: SqlCursorClose Documentation Incorrect

ID: Q88692


The information in this article applies to:
  • Microsoft SQL Server Programmer's Toolkit, version 4.2


SUMMARY

If you use the SqlCursorClose function on a SQLCONN% connection, the Visual Basic application (SQL Server client application) may do one of the following: stop working altogether, cause a general protection fault (GP fault), or behave abnormally.


MORE INFORMATION

The SqlCursorClose documentation on page 129 of the "Programmer's Reference for Visual Basic" incorrectly states:

Closing a SQLCONN% connection with SqlCursorClose automatically closes all the cursors associated with it.

Do not use SqlCursorClose on a SQLCONN% connection. The SqlClose documentation should state:
Closing a SQLCONN% connection with SqlClose automatically closes all the cursors associated with it.

Additional query words: Functions DB-Lib dblib prtk

Keywords : kbprg SSrvDB_Lib
Version : 4.2 | 4.2 | 4.2
Platform : MS-DOS OS/2 WINDOWS
Issue type :


Last Reviewed: March 13, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.