Renaming Record Definitions

To rename a record definition:

  1. Select File, and then Rename.

    The Rename Definition dialog box appears.

  2. Select Record from Definition Type.

  3. Click Rename.

  4. Select the record and click Rename.

    A rectangular box appears around the name.

  5. Enter the new name and press the Enterkey.

Results of Renaming Record Definitions

When you rename a record definition, the system automatically renames all references to it, including data in tables with columns named RECNAME where the data matches the record being renamed.

The only references that are not renamed are the text portion of SQL functions, such as SQLExec and Scroll Select, and the record names in the view text. To find the text portion of SQL functions in PeopleCode or record names in view text, select Edit, and then Find In to search for matching text.

If you already created the underlying tables for the record definition that you renamed, recreate that table. To preserve data in the tables, use the SQL Alter function to rename the database tables.