FIX: Open Dialog Box Appears After Clicking Next in Wizard Form (139187)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 5.0
This article was previously published under Q139187 SYMPTOMS
As you run a form that was created by using the Form Wizard, the Open
dialog box appears when you click a navigation button such as the Next
button. If the table used in the form is selected, the following error appears:
File is in use.
This occurs if SET COMPATIBLE is set to DB4.
WORKAROUND
Use any of the following three workarounds:
Workaround One
This workaround sets the default Compatibility of Visual FoxPro to OFF.
- On the Tools menu, click Options.
- Click the General tab.
- Clear the dBASE Compatibility check box.
Workaround Two
This workaround sets the Compatibility OFF until Visual FoxPro is
restarted. In a program or in the Command window, issue the following line
of code:
SET COMPATIBLE OFF
Workaround Three
This is a permanent solution. Wizard-created forms will function correctly
regardless of the setting of SET COMPATIBILITY.
- Open the txtbtns class of the Wizstyle.vcx class library file. (This
library is in the Wizards directory of Visual FoxPro.)
- In the Initvars procedure, change the following existing line of code:
THIS.nWorkarea = SELECT()
to the following new line of code:
THIS.nWorkarea = SELECT(0)
- Save the class.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This has been corrected in Visual
FoxPro 6.0.
Modification Type: | Major | Last Reviewed: | 10/20/2003 |
---|
Keywords: | kbbug kbfix KB139187 |
---|
|