Fabricant : HP
Taille : 516.61 kb
Nom Fichier :
|
Par ce dispositif a également d'autres instructions :
Facilité d'utilisation
order number is reset to its initial value when it reaches the maximum
amount the field can hold.
In order to insure that the order number is incremented only in Collect
mode, you need a way to prevent it from being incremented in Browse mode
whenever ENTER is pressed to correct data in TOTALS. Also, it would be
nice if the order numbers could be displayed when each form is initially
displayed on the screen.
So far, you have had to go into Browse mode to
see the current order number. Fortunately, both these problems can be
solved by using phases.
TOPIC: PHASES
Statements entered in the Processing Specifications area of the Field
Menu can be executed in any of three phases:
an initialization phase, a
field edit phase, and a final phase. Normally, all statements are
executed in the field edit phase. But, by the use of phase headers,
statements can be executed in either of the other two phases.
The three
phase headers corresponding to the three possible phases of execution
are: INIT, FIELD, and FINISH. If any of these headers precedes a
statement or set of statements, those statements are executed in the
specified phase.
Basically, the phases determine when a statement is executed.
The INIT
statements are executed before the form is displayed. The FIELD
statements are executed when ENTER is pressed and, unlike other
statements, may be executed again and again until all data is correct.
The FINISH statements are performed after all data has been accepted.
The rules governing phases are summarized in Table 6-2.
Table 6-2. Summary of Phases
--------------------------------------------------------------------------------------------
| | |
|
Phase |
Rules Governing the Phase |
| | |
--------------------------------------------------------------------------------------------
| | |
| INIT | All statements in this phase are performed before the form is |
| | displayed. |
| | |
| | No statements in this phase are executed in Browse mode. |
| | |
| | Any statements preceding a FIELD header are assumed to be in the |
| | initialization phase even if the INIT header is omitted. |
| | |
--------------------------------------------------------------------------------------------
| | |
| FIELD | Statements in this phase are performed after the operator types in |
| | data and presses the ENTER key. |
| | |
| | Statements are executed a field at a time, in screen order, until |
| | all fields have been processed. |
| | |
| | If corrections are entered for any field that has an error, all |
| | field edit phase statements are re-executed in screen order. |
| | |
| | Statements in this phase are executed in Browse mode, and all |
| | statements are re-executed when any change to a field is entered. |
| | |
| | |
| | Edit statements (see Section 4) must be executed in field edit |
6-8
... Ce manuel est également adapté pour les modèles :
Logiciel - MPE/iX 6.5 Operating System (516.61 kb)
Logiciel - MPE/iX 7.0 Operating System (516.61 kb)
Logiciel - MPE/iX 7.5 Operating System (516.61 kb)