summarylevel
LEVEL
The summarylevel statement changes the summary level of the current line.
Parameters
This statement has one parameter:
level – is a number that specifies the new summary level of the record. This value may be between 0 (data record) and 7 (highest level summary).
Description
This statement will arbitrarily change the summary level of the current line. This is usually not a very useful thing to do, and we don’t recommend doing it. It is generally better to let summary records be manipulated by the Groupup, RemoveSummaries, and RemoveDetail statements. Note: A procedure can find out the summary level of the current record with the info(“summary”) function.
This example increases the summary level of the current record. If the current record is a data record, it becomes a level 1 summary, if it is a level 1 summary it becomes level 2. (Don’t ask why you would do this, it’s just an example!)
if info("summary") < 7
summarylevel 1+info("summary")
endif
See Also
- @modification --
- change -- replaces text with new text in the current field (selected records only).
- changeword -- replaces one word with another in the current field (selected records only).
- changewordexact -- replaces one word with another in the current field (selected records only).
- emptyfill -- fills every empty visible cell in the active field with the specified value.
- fill -- fills every visible cell in the active field with the specified value.
- fillall -- modifies the operation of the following *fill* statement so that all records are modified, not just visible records.
- formulafill -- fills every visible cell in the active field with the result of the specified formula.
- formulafillallfields -- fills every visible cell in all fields with the result of the specified formula.
- outlinelevel -- expands or collapses the entire database to show a specific level of data or summary level.
- propagate -- fills all the empty cells in the current field. Each empty cell is filled with the value of the first non-empty cell above it.
- propagateup -- fills all the empty cells in the current field. Each empty cell is filled with the value of the first non-empty cell below it.
- resetallrecordidts -- resets the internal record id and time stamps for every record in the current database.
- runmodifyfill -- runs the .ModifyFill procedure (if it exists).
- runningdifference -- calculates the running difference for the current field.
- runningtotal -- calculates the running total for the current field.
- sequence -- fills every visible cell in the current field with a numeric sequence.
- slidedata -- slides the columns at and to the right of the current column.
- speedcopy -- copies multiple adjacent fields from a record in one database to a record in another.
- unpropagate -- removes repeating data from the currently selected field. If several records in a row contain the same data, this statement erases all but the first (top) value.
- unpropagateup -- removes repeating data from the currently selected field. If several records in a row contain the same data, this statement erases all but the last (bottom) value.
History
10.0 | No Change | Carried over from Panorama 6.0 |