Microsoft KB Archive/148330

= BUG: ODBC: SQLGetProp Causes IC Error in Debug Window =

Article ID: 148330

Article Last Modified on 10/15/2003

-

APPLIES TO


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

-



This article was previously published under Q148330



SYMPTOMS
An internal consistency (IC) error occurs when you attempt to view the properties of a connection using SQLGetProp in the DEBUG window.



CAUSE
You are using an invalid connection handle in the SQLGetProp function in the DEBUG window.



RESOLUTION
Print the return value of SQLGetProp to the desktop or currently active window using ? or \ printing as in this example: ? SQLGETPROP(, "BATCHMODE") In this example, is a valid handle to the connection.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.



Steps to Reproduce Problem
 Create an ODBC data source based on the Oracle 7.0 driver. Create a database with a remote view based on the data source created in step 1. Open the remote view.  Open the Debug window, and type the following line in the left pane: SQLGetProp(3, "BATCHMODE") In this example, 3 is an invalid connection handle. 

Additional query words: ICE kbvfp300 kbvfp300b

Keywords: kbbug KB148330

-

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

© Microsoft Corporation. All rights reserved.