How to Add Table Fields to Screen Wizard-Generated ScreensID: Q135624 The information in this article applies to:
SUMMARYThis article shows by example how to add a table field to a Screen Wizard- generated screen while addressing the conventions that will help to ensure that the change does not conflict with the screen's original functionality. Sometimes it is desirable to add table fields to a Screen Wizard- generated screen program. This is particularly true if the Screen Wizard did not incorporate all the table fields when it created the original screen or if new fields were added to the table after the Screen Wizard was initially run. The generated code that drives a Screen Wizard-generated screen is very complex. Making even the slightest change to it can easily induce problems with the screen's original functionality.
MORE INFORMATION
Things to Know About the Field to Be Added
Steps to Create the Example Screen Wizard-Generated Screen1. Start FoxPro, and on the Run menu, click Wizard and then Screen. 2. In the Screen Wizard, click the Open button. In the Tutorial 3. For the Selected Fields, click the Add All option. Once all of the
4. For the Sort Order of Records', highlight the Cno field and then
5. Choose the Standard style. (With the Windows, version, select the
6. For the title, enter whatever title you wish. Click the 'Modify
7. If you wish to save this as something other than Customer.scx
Steps to Add the Field1. On the Screen menu, click Field in MS-DOS, or select the Field tool 2. The Field type is Get.
3. In the area to the right of the Get button (MS-DOS) or to the right 4. Click the When button. Then choose Expression, and place the cursor
5. Select Format and choose Character. In the area below format, type
6. Place the new field wherever you like on the Screen. In Windows, you
7. To make a title in MS-DOS, type it on the screen. To do this in Windows,
8. On the Program menu, click Generate and then Yes to save changes. Then
Additional reference words: 2.60 2.60a FoxWin FoxDos
KBCategory: kbtool
KBSubcategory: FxtoolWizscreen
|
|
Last Reviewed: August 25, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |