FIX: Error Message "Variable is Not Found" When Running Form
Article ID: 150596
Article Last Modified on 9/30/2003
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
- Microsoft Visual FoxPro 3.0b Standard Edition
This article was previously published under Q150596
SYMPTOMS
When you run a form with a grid on it, the error message "Variable Is Not
Found" appears. If you click OK, the form is displayed but the grid is
empty. If you close the form and run it again, the error is not displayed.
However, the grid is still empty.
CAUSE
The ControlSource property of the grid columns is set to a table field that
is not open.
WORKAROUND
Open the table before running the form or add the table to the
DataEnvironment of the form.
STATUS
Microsoft 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.
Keywords: kberrmsg kbbug kbfix kbvfp500fix KB150596