Building a Module [ HP ALLBASE/4GL Developer Reference Manual Vol. 1 ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Reference Manual Vol. 1
Building a Module
The procedure to create a module eliminates the need to create individual
items. You do not need to create a data screen, or any logic blocks to
obtain a working application module. This is all done by the module
builder.
The procedure required to create a module involves the following steps:
* Create the required dictionary items. You need to create the
field specifications, record layout, and file that the module
builder is going to use for the module.
* Complete the module builder screen. In this screen you define the
following:
- The module name.
- The module type, either maintenance or inquiry.
- The name of the main file for the module.
- The record layout and index field for the main file.
- Whether all the fields from the record layout are
automatically included in the resultant screen.
* Complete the module details screen. This screen is optional, if
you specified that all fields from the record layout are placed in
the resultant screen. If you specified that not all fields will
be placed on the resultant screen, you must complete this screen
to specify the following details:
- Which fields from the record layout are included in the
resultant screen.
- Which fields are required fields.
- Which fields are display fields.
- Links between screen fields and secondary files. These
links can be used to display data from the secondary file
on the resultant screen, or to validate data entered into
the link field.
* Generate the module. By pressing the Generate Module function
key, you execute the module builder process to construct the
module.
* Join the module to a menu. You add a menu item which executes the
module.
MPE/iX 5.0 Documentation