Creating Messages for the Logic Blocks [ HP ALLBASE/4GL Developer Self-Paced Training Guide ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Self-Paced Training Guide
Creating Messages for the Logic Blocks
This page describes the messages required by the logic blocks you have
just created.
1. Use the Messages selection on the dictionary menu to create these
messages now.
a. Add Option. The option_key_read function displays this
message to tell the user that the details for a new option
may be added.
Name add_option
Type MESS
Contents "New option, number " * ", may be
added."
b. Option Doesn't Exist. The option_key_read function
displays this message to indicate that a record for the
option number does not exist.
Name opt_not_exist
Type ERROR
Contents "Record does not exist for option
number"
* "."
c. Delete Product Options. The option_key_read function
displays this message. A product cannot be deleted unless
the options for the product are deleted first.
Name del_prod_opt
Type ERROR
Contents "To delete option 000, "
"you must delete the product."
Now all of the screen and window handling for this application is
complete. You now need to provide the ability to update the application
data files. The first item to define is a decision table to invoke the
correct update function.
If you wish, you can use the Test option on the developer main menu to
look at the new product_scrn screen. However, none of the file
manipulation functions or the scrolling functions will be operational
yet.
MPE/iX 5.0 Documentation