5.1 Introduction

Form is a general purpose data input program. This program displays a data entry form, much like a printed form, on a video terminal. On this displayed form are various fields in which to enter data. Each field has a title describing what is to be entered.

Form can display a sequence of forms on one screen or one form on multiple screens. It is possible to modify a sequence of RMSfiles during a data entry session, since each form in a sequence of forms can be associated with a different RMSfile.

The formats, or descriptions, of forms are stored in a formfile. You can create or modify formfiles with three programs

gifs/20000000.gif toolkit

gifs/20000000.gif formedit

gifs/20000000.gif formdef

With toolkit, formedit, or formdef, you can quickly and easily draw forms directly on the screen exactly as they are to look when displayed for data entry.

Toolkit is a menu driven interactive environment for creating and modifying applications. Besides working with forms, toolkit also lets you create or modify RMSfiles, reports, and menus. Toolkit uses formedit to actually create or modify the formfile.

Formedit creates or modifies logical formfiles and maintains the catalog of logical formfiles automatically. Formedit uses formdef to actually edit the formfile.

Formdef does the actual editing of the formfile. Normally, you will use toolkit or formedit instead of using formdef directly.

This chapter explains how to create new data entry screens with toolkit, formedit, or formdef. You should be generally familiar with the operation of form and know how to add, find, update, and delete data records. If not, first review Chapter 3, Using Form to understand the basic operation of form. This chapter also assumes that you are familiar with RMSfiles as described in Chapter 4, Creating RMSfiles.