FIX: Open Dialog Box Appears After Clicking Next in Wizard FormID: Q139187
|
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:
This occurs if SET COMPATIBLE is set to DB4.File is in use.
Use any of the following three workarounds:
SET COMPATIBLE OFF
THIS.nWorkarea = SELECT()
to the following new line of code:
THIS.nWorkarea = SELECT(0)
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.
SET COMPATIBLE DB4 changes the behavior of the Initvars procedure. With the
SET COMPATIBLE OFF setting, SELECT() returns the currently selected work
area. However, with the SET COMPATIBLE DB4 setting, SELECT() returns the
next available work area.
Additional query words: move record kbtool kbprb
Keywords : kbVFp FxtoolFormdes
Version : WINDOWS:3.0,5.0
Platform : WINDOWS
Issue type :
Last Reviewed: February 7, 1999