Each record type has a Record Fields grid that shows its
associated fields. You can use this grid to add fields to the record
type and to modify field properties.
Before you begin
When naming fields, do not use
keywords that are reserved by the database vendor. See your vendor
documentation for a list of reserved keywords.
Procedure
To add a field to a record type:
- Start the Designer.
-
In the Schema Repository Explorer view, expand the Record Types folder
in your schema and then click on a record type.
The record type editor opens.
- Click on the Fields tab to view
the Record Fields grid.
- Right-click on the Record Fields grid and click New
Field.
The New Field window opens.
- Type a name for the new field in the Field Name field.
- In the DB Column Name field, type
a name that will be used for the table column. You may want to use
the same name as the field name.
- In the Type field, select a field
data type.
- Select the Visible In Query option
to ensure that this field is included in queries run from the HCL Compass Client. If you
do not want to include this field in queries, clear this option.
- If you chose REFERENCE, REFERENCE_LIST, or SHORT_STRING
for the field type, click Next to provide additional
information:
- Click Next.
- Enter optional Help Text for the
new field and then click Finish.
What to do next
To make the new field available to users:
- You must associate the field with a form control. For more information,
see Working with form controls.
- You must check in the schema and apply the new schema version
to the user database.
After you check in the schema, you cannot change the type,
size, or DB column name properties of the field. However, you can
change the name that you use to refer to the field.