Before you begin, you must complete Exercise 7.7: Adding fields to the subfile record.
Now let's fix up the Subfile control record. The group you
created contains 2 records. You can verify this by looking at the
record list in the toolbar:
The fields in the subfile still appear so that column heading can be lined
up, but they appear at half-intensity so that they can be distinguished from
the fields of the current record.
Position to:
Now you need an employee name field.
You could create a named field with the right characteristics like you did
in the subfile, or you could create a source reference using the Create source
reference field
button in the palette, or you could reference the original database field
using either the Create database reference field button or the
Create database reference field(s) by selection
button. But there is an even simpler way. Use copy and paste!
Copying the employee name field
To copy the employee name field:
You have fixed up the subfile records to add an employee name field with a position to entry opposite this field and you are ready to begin Exercise 7.9: Adding field error handling.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.