Previous Topic: Change a File Name

Next Topic: Fields

Delete a File

To delete a file, you must delete the Defined as relation for that file. Before you can delete a Defined as relation, you must first delete all other references to the file. Use the positioning option to view all references.

  1. Delete all relations, except a Defined as relation.

    This includes all Owned by, Known by, Refers to, Has, Extended by, Qualified by, and Includes relations.

    On the Edit Database Relations panel, type a D next to each of the relations of the file and press Enter.

  2. Delete the Defined as relation (DFN).

    When you delete the Defined as relation, CA 2E removes all the access paths and functions associated with this file.

  3. Optionally delete all fields that are now unreferenced.

    From the Edit Database Relations panel:

  4. Delete all messages for this file. This includes all user-created messages in addition to the default messages.

    There are two default messages:

    "File name" EX (record already exists)

    "File name" NF (record not found)