Insert record

Select this menu choice to insert a record in this window.

For display files, the types of records you can insert are:

Standard
A default record.
Subfile
Creates both the subfile and subfile control records which define a list on the screen.
Message subfile (only in the DDS Tree or Details view)
Creates both the subfile and subfile control records which define a list of messages from a program's queue.

For printer files, the types of records you can insert are:

Relative
If you want to specify the location of fields in the record relative to other fields, select relative. You cannot specify line numbers for fields. Line numbers will be determined using the SKIP and SPACE keywords.

For example, if FIELDA is to be located three lines above FIELDB in the record, you would specify the SPACEA(3) keyword for FIELDA. The CODE Designer will automatically create and maintain these keywords for you in the Design window, although you can change them directly.

This type of record is useful for detail lines in a report, where a single record appears multiple times on the same page.

Absolute
Identifies that the line number of fields on the report page are explicitly specified.