FIX: Program Code Cannot Set Database Property to Null StringID: Q161198 The information in this article applies to:
SYMPTOMSThe Database property of a cursor cannot be programmatically set to a null string. The Database property always shows the full path of Visual FoxPro. This is the same value as contained in the FULLPATH() function. The Database property of a cursor contained in the DataEnvironment of a form can be modified. This problem only appears in Visual FoxPro 5.0; Visual FoxPro 3.0b functions properly.
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.0a.
MORE INFORMATIONThis program creates a free table named myTable. Next, the Database property is set to null. Finally, WAIT WINDOW commands compare the value of the FULLPATH() function with the actual value of the Database property. Steps to Reproduce Problem Create a program, place the following code in it, and run the program:
In Visual FoxPro 5.0, both the FULLPATH() function and the Database
property return the same value. In Visual FoxPro 3.0, the Database property
returns an empty string.
|
Last Reviewed: November 1, 1997 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |