HP Integrity NonStop J-Series User Manual

Page 131

Advertising
background image

TAILORING AN APPLICATION
Providing a Compressed Format

When you supply a value for the INCLUDE attribute, consider the
following:

• If you do not include all the field names in a record
description, the application does not display the omitted
fields.

• If you use the application to update a record and one or more
fields do not appear on the screen, the application uses the
original values of the fields for the updated record.

• If you use the application to insert a record and one or more
fields do not appear on the screen, the application uses a
default value for these fields. The application uses zeros
for numeric fields and blanks for alphanumeric or alphabetic
fields.

Providing a Compressed Format

If several fields appear in a box, you might want to provide a
compressed format for that box. A compressed format often
improves the appearance of the screen. Consider, for example,
the "employee-info" application. You could improve the
appearance of the screen displayed by this application by
supplying a compressed format for "employ-box." To provide this
format, you could include the following in the series of commands
used to describe "employ-box":

SET SCREENFORMAT COMPRESSED

Figure 6-6 shows the screen that "employee-info" will
display if you supply the attribute values discussed thus far.
This figure also shows the preceding SET SCREENFORMAT command in
the series of commands used to generate the application.

6-13

Advertising
This manual is related to the following products: