The information in this article applies to:
SUMMARYThis article shows how to conditionally stop a form from loading based on the value of an expression by returning false (.F.) from an expression in the Init event of the form. MORE INFORMATIONYou can stop a form from loading if a variable or expression evaluates to false (.F.). For example, if you want to load an inquiry form based on a table called Students only if the table has records, place the following code in the Init event of the form:
The Load event occurs, but the form is never instantiated.
Additional query words: VFoxWin
Keywords : FxprgClassoop |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |