Microsoft KB Archive/140613

= FIX: SQLDISCONNECT May Cause Exception Error in Visual FoxPro =

Article ID: 140613

Article Last Modified on 10/15/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Data Access Components 2.5

-



This article was previously published under Q140613



SYMPTOMS
In Visual FoxPro 3.0, Using the SQLDISCONNECT function sometimes causes Visual FoxPro to quit and display an "Exception error."



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Windows.



Steps to Reproduce Problem
To reproduce this problem, a valid ODBC Data Source setup must be available on the system.

  In the Command window, type the following code: ?SQLSTRINGCONNECT  Click Cancel when the SQL Data Source dialog box appears or click OK if an 'Execution was canceled by user' dialog box appears.  Type the following in the Command window: ?SQLCONNECT  Select a valid DataSource. You should receive a 1 for a connection handle.  Type the following in the Command window: ?SQLDISCONNECT(1). Visual FoxPro quits with "Exception error" or "This program has performed an illegal operation and will be shut down." 

Additional query words: fixlist3.0b buglist3.00

Keywords: kbbug kbfix KB140613

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.