4D View v16PV REPORT MANY |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v16
PV REPORT MANY
PV REPORT MANY
The PV REPORT MANY command creates a report in the 4D View area using the values from 4D fields specified in tables and fields starting from the current selection of the master table. An operation can be applied to each of these fields defined by operator: subtotal, number, maximum, etc. To define the operator parameter, use the constants in the PV Report functions theme:
The generated result is inserted in the area from the cell set by column and row. tableBreak and fieldBreak assign the field where the break sequence will be executed. The breaks allow separating records in homogenous groups and executing intermediary calculations for each group. The insert parameter determines if the data placed in the 4D View area using this command must either replace cells that may be present or must be inserted into new rows. If you pass 0, the data is cleared and replaced. If you pass 1, additional rows are inserted. The detail parameter allows you to define the way 4D View will insert the detail as well as the break rows in the report:
The title parameter allows you to set the title of the result row (i.e., "Total", "Average", etc.). As in the 4D Quick Report editor, you can use the # character as a placeholder for the current break value. For example, if the “Country” field is your break field, you can pass "Total for #:" in title. The report will display "Total for USA:" then "Total for Japan:", etc. Note: If detail is set to 0 and the title is an empty string, the first column is not inserted (it would then be empty). Display, in an included 4D View area in the client entry form, a report of contacts linked to this client, with a break indicating the number of contacts for each title: secretary, developer, documentation department, etc. An automatic relation exists between the contacts table and the titles table. C_LONGINT($Column) //Column number The selection will depend on links between tables at the database structure level, field numbers and arrays passed as a parameter to the command.
See also
|
PROPERTIES
Product: 4D View
HISTORY
Created: 4D View 6.8 ARTICLE USAGE
4D View Language ( 4D View v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||