To define record keys for an indexed data file
- From either the Data File Convert or the Create file dialog box, click
Define Keys.
- On the Key Information dialog box, click
Insert Key. This creates a Prime Record Key.
- Click
Prime Record Key on the tree view.
- Define the key using the fields and controls in the
Key Compression and
Key Options groups. For information on each field and control, see
Key Information dialog box.
- To define a key component, select the component from the tree view; then complete the fields in the
Key Component group. For information on each field, see
Key Information dialog box.
- To insert an alternate key, click
Prime Record Key on the tree view; then click
Insert Key Before or
Insert Key After.
- To insert an additional key component, select a component on the tree view; then click
Insert Component Before or
Insert Component After.
- If you have inserted an alternate key and/or an additional component, define each as you did for the Primary Record Key and its component(s).
- To delete a key or a component, select it on the tree view; then click
Delete Item.
- To save your changes and close the Key Information dialog box, click
OK.