HP 3000 Manuals

Task 1 - Defining the Function Header [ HP ALLBASE/4GL Developer Self-Paced Training Guide ] MPE/iX 5.0 Documentation


HP ALLBASE/4GL Developer Self-Paced Training Guide

Task 1 - Defining the Function Header 

The function you are about to create is executed on completion of data
entry for the product_no field on the product_scrn data screen.  The
function reads the product file using the value just entered as the key
for the file search, and then displays the data from the file if a
matching record is found.  For HP ALLBASE/SQL based applications, the
function initially calls an SQL logic block to declare and open a cursor
on a matching record, if it is found.

Menu Path 

To access the function header screen: 

   1.  From the main menu, select the Logic option.

   2.  Select Functions.

   3.  Choose Header.

Screen Description 

The Function Header Screen lets you enter a brief description of the
function for documentation purposes.

	       Click here to view figure.
          Function Header Screen 

To enter the field values: 

        Field                 Entry                         Explanation 

---------------------------------------------------------------------------------------

Function Name         product_key_read      The name of the function within the
                                            application.

Description           Enter a suitable
                      description.

To complete and commit this screen: 

   1.  Press the  Commit Data  function key to create the function
       header.

Now go to the function detail screen to create the logic block commands.



MPE/iX 5.0 Documentation