Skip to main content

Create a subform (variable data output area)

You may want to design forms containing variable data, as typified by sales ledgers containing details, subtotals, and totals, where rows may be inserted or the printing position may be changed as necessary. In order to create such a form, "Subforms" can be created as an area where different data can be output to different rows. This distinguishes subforms from normal forms. In addition, it is necessary to create "Records" in the subform, which serve as the output area for the data.

Figure 1. A form containing variable data
A form containing variable data


Figure 2. Example of subforms and records
Example of subforms and records


Caution

  • You can create multiple subforms in one form, but you cannot control multiple subforms that are not linked. Only one subform can contain records in an XML form file.

  • You cannot create the following items in a layer directly under a subform:

    • Field, image, barcode, 2D barcode

    • Any item set an attribute-formula

If necessary, create a link-subform as the output destination for printed records that exceed the area available on the subform.

sxd10_i080.png

Caution

Do not place a repeat item together with a subform and records in one form.

Procedure

  1. Select Item - Create subform or click sxd10_i331.png on the toolbar, and move the mouse pointer to any point on the form.

    The pointer changes to sxd10_i335.png.

  2. Drag the mouse to make a rectangle on the form window.

    A subform is placed.

  3. Select the placed subform.

    Property editor displays the properties of the selected subform.

  4. Specify each property item.

Work required after operation

  • Create records

  • Place items on subforms as needed

Related items