MODIFYING A REPORT DEFINITION [ INFORM/V User's Guide ] MPE/iX 5.0 Documentation
INFORM/V User's Guide
Chapter 10 MODIFYING A REPORT DEFINITION
One of the most important features of any report writer is the capability
to change reports once they have been defined. INFORM/V provides a
framework for modifying reports that is particularly helpful and easy to
use. It presents each prompt, with the current responses, then prompts
you for changes. You are quickly reminded of the exact existing
specification, then can compare your new entry with the old one.
You can modify a report from three points in INFORM/V: from the Main
Menu, from the bottom of the last page of a displayed report, or from the
bottom of the Data Names Menu if you choose not to produce a report that
has just been defined. If you have just defined or produced a report,
INFORM/V prompts with
RETURN TO CURRENT DATA NAMES MENU(Y/N)>?
When you respond with Y, INFORM/V displays the modify version of the Data
Names Menu for the current report, and you can begin making changes.
If you are beginning on the Main Menu, you can modify the current report
by selecting option 9. An example is shown in Figure 10-1.
If there is no current report, INFORM/V prompts you as follows for the
report definition name:
CURRENT REPORT HAS NOT BEEN SPECIFIED
TYPE A REPORT NAME(6)>
When you supply a report definition name, INFORM/V reads it in as the
current report and prints the Data Names Menu corresponding to that
report.
________________________________________________________________
| |
| INFORM/V HP32246v.uu.ff - (C) Hewlett-Packard Co. 1986|
| |
| INFORM OPTIONS: |
| |
| 1: DEFINE A REPORT |
| 2: DISPLAY REPORT CATALOG |
| 3: SELECT A REPORT DEFINITION |
| 4: PREVIEW REPORT LAYOUT |
| 5: PRODUCE THE REPORT |
| 6: ADD REPORT DEFINITION TO CATALOG |
| 7: DELETE A REPORT DEFINITION FROM CATALOG |
| 8: SET OPTION |
| 9: MODIFY THE REPORT |
| 10: EXIT FROM INFORM/V |
| |
| TYPE AN OPTION>9 |
________________________________________________________________
Figure 10-1. Choosing to Modify a Report
Every prompt acts the same when you are modifying a report as when you
are defining one except that the prompt is displayed first with (OLD)
appended, followed by the existing responses. Then the prompt will be
repeated with (NEW) tagged to it. An example is shown in Figure 10-2.
At this point, you can respond in one of the following ways:
* Type in new value(s).
* Press RETURN to keep the old values.
* Type a space and press RETURN to remove all the old value(s).
* Type ] to return to the previous prompt (or if used with the first
prompt, return to the Main Menu).
* Type ]] to redisplay the Data Names Menu and start over from the
INCLUDE prompt. Any modifications done up to that point will be
saved in the current report.
* Press CONTROL Y to return to the Main Menu.
___________________________________________________________________________
| |
| INFORM/V HP32246v.uu.ff - (C) Hewlett-Packard Co. 1986 |
| |
| DATA NAMES IN INVENTORY |
| |
| 1: PART 3: COST 5: PRODUCT LINE |
| 2: LOCATION 4: PRICE 6: QTY ON HAND |
| |
| TYPE NUMBER(S) FOR DATA NAME(S): |
| |
| TO INCLUDE IN REPORT(OLD): 1,4,3,6 |
| TO INCLUDE IN REPORT(NEW)> |
| TO SORT BY(OLD): 1,4,3 |
| TO SORT BY(NEW)> 1,4 |
| TO SUBDIVIDE BY(OLD): 1,3 |
| TO SUBDIVIDE BY(NEW)> |
| |
| INVALID ENTRY IGNORED(DATA NAMES SELECTED MUST BE IN SORTED LIST):3|
| TO SUBDIVIDE BY(OLD): 1,3 |
| TO SUBDIVIDE BY(NEW)> _ |
| FOR REPORT SUMMARY(OLD): |
| FOR REPORT SUMMARY(NEW)> ] |
| TO SUBDIVIDE BY(OLD): |
| TO SUBDIVIDE BY(NEW)> ]] |
| |
| |
| |
| |
| |
___________________________________________________________________________
Figure 10-2. Modifying a Report
In the example in Figure 10-2, the user's responses are interpreted as
follows:
The user responds to the first prompt,
TO INCLUDE IN REPORT(NEW)>
by entering a RETURN, signaling that the same four data items should be
included in the modified report.
Next, in response to
TO SORT BY(NEW)>
the user enters 1,4, and thereby changes the sort specification.
Next, the prompt
TO SUBDIVIDE BY(NEW)>
is answered by RETURN, meaning that the old values should be retained
here. However, INFORM/V requires that the user change the old response,
since the sort data names have been changed and the old SUBDIVIDE
response is no longer valid. When reprompted, the user enters a space,
followed by RETURN, thereby erasing the old response without entering a
new response.
When prompted with
FOR REPORT SUMMARY(NEW)>
the user decides that he wants to subdivide after all, and so enters ],
to recall the preceding prompt. When the SUBDIVIDE prompt appears again,
the user decides that he should start again at the beginning. Entering
]] will cause INFORM/V to clear the screen, then redisplay the Data Names
Menu down through the first (NEW) prompt, thereby allowing the user to
start the modification over again.
MPE/iX 5.0 Documentation