HP 3000 Manuals

Further Options [ HP ALLBASE/4GL Developer Self-Paced Training Guide ] MPE/iX 5.0 Documentation


HP ALLBASE/4GL Developer Self-Paced Training Guide

Further Options 

Once the order module has been created, you have several further options.
You can modify the items created to alter the module's functionality, or
you can use items created for the module in other parts of an
application.

You treat all the items created by the module builder in the same way as
those you create yourself.  All module builder items are listed in the
catalog display.  Modification is quite simple because the templates the
module builder uses to create items contain the same HP ALLBASE/4GL
features available to you.

Copying items created by module builder to other parts of your
application speeds up the creation of an application.  An example of
where you can use items elsewhere is the after function for the Product 
Number field in the mb_order screen, called mb_order_l_08.  In the
mb_order screen, this after function validates the product number entered
against the secondary file product.  Thus it ensures the user only enters
a valid product number into the mb_order screen.  You could copy and then
modify this function to become an after function to validate the Product 
Number field in the product_scrn screen.  In this context, the after
function would validate data entered into the Product Number field
against the file product.



MPE/iX 5.0 Documentation