How to Validate GETs Based on Elements of an ArrayID: Q120294 The information in this article applies to:
SUMMARYThis article explains how to create a series of entry fields on a screen that are based on an array. The example below explores how these array elements can be validated. It also takes into consideration the possibility that these entry fields from an array may not be the first objects on the entry screen. The example does assume, however, that the fields are grouped together in succession.
MORE INFORMATION1. Type the following code into a program:
2. Run the program, and enter values in any of the GETs.
The first three entry fields don't do anything special. They are just dummy GETs for this example so that the array GETs aren't the first objects on the screen. The validation routine for the GETs bound to individual elements of the array appends an exclamation point to the end of the most recently entered value, provided all entry positions are not filled by user input. This example demonstrates that it is possible to efficiently validate a group of GETs bound to a single array. Additional reference words: FoxUnix FoxMac FoxDos FoxWin 2.00 2.50 2.50a 2.50b 2.50c 2.60 2.60a KBCategory: kbprg kbcode KBSubcategory: FxprgGeneral |
|
Last Reviewed: August 28, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |