Drag Item Options

 

This form appears when an item is dragged and dropped on to a detail line of a report.  It is used to control whether headings and sums are wanted, and to manage indexing in the case of dimensioned fields.

 

It looks like this when field INDIM.Y2, defined Y2(3, 4) SMALLINT, is dragged to a report: -

Form Operation and Controls

Field name, Nbr of Characters

The field name, and the number of characters required for its data, is displayed.   Because this field has format SMALLINT, it is printed with picture ---,--9 which is large enough to carry a value of +/-32767.

Heading

If checked the field will be aligned under the heading shown.  The editing can be edited.

Dimensions and Subscripts

This section appears for tables, i.e. fields defined with dimensions.  You may edit the subscript within these rules: -

1.                  There must be as many subscripts as there are dimensions.  In this example Y2 has two dimensions, so there must be two subscripts.

2.                  Each subscript may be

a.      *, meaning every element of the table, or

b.      a numeric constant in the range 1 to the corresponding dimension, i.e. 1, 2, or 3 for the first dimension, or

c.      a general numeric field which has a value at this point of the program, or

d.      IXn which denotes a value from a FOR statement enclosing this print line.  

Sum

Check this if you want this field to be added up and totalled.  If there are control breaks there will also be subtotals at each control break.

Close or Cancel

Click one of these buttons:  [Close] inserts the field into the report, [Cancel] closes the form without making any changes.