FIX: SQLSetProp() Without Expression Does Not Restore DefaultsID: Q145846 3.00 3.00b WINDOWS kbprg kbbuglist kbfixlist The information in this article applies to:
SYMPTOMSLeaving off the optional [eExpression] in SQLSetProp() may not restore Visual FoxPro defaults for all SQL properties.
WORKAROUNDThe values must be set manually, instead of relying on SQLSetProp() to restore the default values.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0 for Windows.
MORE INFORMATIONThe help file describes eExpression as "specifies the value for the setting you designate with cSetting. If you omit eExpression, the default value is restored for the setting." However, the following properties are not restored to their default settings when leaving eExpression off:
Steps to Reproduce ProblemType the following commands in the Command Window:
The last call to SQLGetProp() returns 0 when the default for WaitTime is
100.
KBCategory: kbprg kbbuglist kbfixlist KBSubcategory: FxprgSql VFoxWin buglist3.00 buglist3.00b fixlist5.00 Additional reference words: 3.00 3.00b
|
Last Reviewed: February 23, 1997 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |