How to Add Code to WHEN Snippets Created from ScreenWizardID: Q121277 The information in this article applies to:
SUMMARYWhen a screen is created using the ScreenWizard, the ScreenWizard puts commands in the WHEN snippet to control field activity. This control is in the form of a logical variable called ISEDITING, and is used as an expression. If you need to put code in a field-level WHEN, change the expression to a procedure. By changing the snippet to a procedure, you change the ISEDITING variable's ability to activate or deactivate the data entry field.
MORE INFORMATION
Steps to Reproduce Behavior1. Enter the following command in the Command Window:
2. Select the RUN/WIZARD/SCREEN menu options. Then select 'Add All' fields;
3. Double-click the field called cno, and select the WHEN push button to
4. Click OK twice to save the changes to the field. Select the
5. Run the screen. The message: "The Customer.cno when snippet is
Resolution to BehaviorType the following into the Command window:
Then start at step 3 above and change the customer.cno WHEN snippet to
read as follows:
Additional reference words: FoxWin 2.60
KBCategory: kbusage kbtshoot
KBSubcategory: FxtoolWizscreen
|
|
Last Reviewed: August 28, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |