You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

LANSA's prompt key processing features offer the following benefits:

  • Vastly improved productivity. No RDML code is required to implement prompt key processing. In the Repository you define the link between the field being prompted and the prompting program that presents the pop up window.
  • A consistent and easy to use prompting interface.
  • Complete compliance with the SAA/CUA guidelines.

How to use it is described in these topics:

What is PROMPT?
Under the IBM SAA/CUA standards, PROMPT is defined as:
"Prompt is a common dialogue action that assists users to complete entry fields. It can save time for users and reduce the chance of typing errors. To use prompt, users place the selection cursor on the entry field for which they want a list of possible entries. When they request prompt, a pop-up window appears containing a menu panel with single- or multiple-choice selection fields. When users select one or more choices from the selection field, the pop-up window disappears. The choice text is placed into the entry field as though users had typed it there."
A Prompt dialogue example:

  • User is working from an entry panel. They tab the cursor into the company number field and use the prompt function key:

           DEMO01          Demonstration Panel                                                                                                                                                                   Specify the following and press enter.                                                                                              Account number . . . . .  _____________                                                                            Account type . . . . . .  ________                                                                            Company number . . . . .  ___                                                                            Transaction amount . . .  ___________  
     

     |

  • A pop-up window of all allowable company numbers is displayed. The user selects the desired (company 03) by placing the selection cursor on it and pressing enter:

                                                                             DEMO01          Demonstration Panel                                                                                                                                        ...........................         Specify the following and press e: COMP01  Companies       :                                          :                         :         Account number . . . . .   ____ : Number Description      :                                          :  01    ACME ENGINEERING :         Account type . . . . . .  ___  :  02    CONSOLIDATED ENG :                                          :  03    ACME WELDING     :         Company number . . . . .  _    :  04    DESIGN INC.      :                                          :                         :         Transaction amount . . .  ____  :.........................:  
     

     |

  • The pop-up disappears and the selected company number is placed into the company number field just as if the user had keyed the value in:

                                                                            DEMO01          Demonstration Panel                                                                                                                                                                   Specify the following and press enter.                                                                                              Account number . . . . .  _____________                                                                           Account type . . . . . .  ________                                                                            Company number . . . . .  03_                                                                            Transaction amount . . .  ___________  
     

     |

  • No labels