HPlogo ALLBASE/SQL Performance and Monitoring Guidelines: HP 9000 Computer Systems > Appendix A Design for a High-Performance Interactive Table Editor

User Interface

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The user interface consists of a main form which is a single table. The rows of the table contain all the fields of the employee record. All the fields are protected (i.e., display-only). Seven function keys are defined:

  • SELECT, which causes display of a popup form asking for the department number. This popup form itself has two function keys: OK and CANCEL. CANCEL cancels the SELECT and makes the popup form disappear. OK selects the employees in the specified department and displays the rows in the main form after the popup form disappears.

  • CURSOR_UP and CURSOR_DOWN, which position the cursor on the desired row in the table.

  • PAGE_UP and PAGE_DOWN, which position the display table on the previous or next page of rows.

  • DELETE, which deletes the current row. The row disappears from the table, and all the following rows are shifted up by one. A new row fills in the bottom of the table on the screen.

  • UPDATE, which causes display of a popup form asking for the new values for the row. The popup form itself has two function keys: OK and CANCEL. CANCEL cancels the UPDATE and makes the popup form disappear. OK updates the employee specified and displays the rows in the main form after the popup form disappears. If the department number has not been changed, the new value of the row is displayed under the cursor; otherwise, the screen is handled as in the case of deletions.

Feedback to webmaster