The
Record template, found in the
Templates drawer
of the Palette view, creates a group of form fields that are equivalent to
the fields in an EGL record part. To create the form fields, follow these
steps:
- Open a form group in the EGL form editor.
- Create a form. See Creating a form in the EGL form editor.
- On the Palette view, click Record.
- Within a form in the editor, click and hold the mouse to draw a rectangle
that represents the size and location of the fields. A preview box next to
the mouse cursor shows you the size of the record fields and their location
relative to the field.
Note: You can add a record only within an existing form.
- When the record is the correct size, release the mouse. The EGL Record
Placement window opens.
- In the EGL Record Placement, click Browse. The
Select a Record Part dialog opens.
- In the Select a Record Part dialog, click the name of the record part
you want to use or type the name of a record part.
- Click OK. Now the Create a Record window is
populated with a list of the fields in that record.
- Using one or more of the following methods, select and organize the record
part fields you want to display as fields in the form:
- To remove a field, click its name and then click Remove .
- To add a field, follow these steps:
- Click the Add button. The Edit Table Entry window
opens.
- In the Edit Table Entry window, type a name for the field in the Field
Name box.
- In the Type list, select a type for the field.
- If necessary for the type you have selected, enter the precision for the
field in the Precision field.
- Enter a width for the field in the Field Width field.
- If you want the field to be an input field, select the Make
this field an input field check box. Otherwise, clear the check
box.
- Click OK.
- To edit a field, follow these steps:
- Click the field's name.
- Click the Edit button. The Edit Table Entry
window opens.
- In the Edit Table Entry window, type a name for the field in the Field
Name box.
- In the Type list, select a type for the field.
- If necessary for the type you have selected, enter the precision for the
field in the Precision field.
- Enter a width for the field in the Field Width field.
- If you want the field to be an input field, select the Make
this field an input field check box. Otherwise, clear the check
box.
- Click OK.
- To move fields up or down in the list, use the Up and Down buttons.
- Using the Orientation radio buttons, choose
a vertical or horizontal orientation for the fields.
- In the Number of Rows field, enter the number
of rows you want the group of fields to have.
- If you want the group of fields to have a header row, select the Create
header row check box.
- Click Finish.
Related concepts
EGL form editor overview
Editing form groups with the EGL form editor
Form templates in the EGL form editor