Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerpt
_Banners
_Banners
nameERD
nopaneltrue

Edit

This page is for application designers and data modellers working on an ERD. It explains how to edit the properties of tables and their attributes.

Editing a Table

To change table details:

  1. In the ERD, to open a table's properties:
      Click
      • either click on the
      Table's
      • table header bar
      .
    • Or from the more menu select Edit.
    • See Table for the options available to edit.

Edit Attributes

  1. Double-clicking an attribute visible on an ERD or double-clicking on one from within a table's properties attributes section, will open its properties ready for editing.Common Tasks:
  2. Changing the attribute name, can be achieved by simply updating and saving the Name value.
  3. Changing the data type, can be necessary
    • or in the table header bar, click 
      Insert excerpt
      _more_options_erd
      _more_options_erd
      nopaneltrue
       and select 
      Insert excerpt
      _edit
      _edit
      nopaneltrue
      .
  4. PhixFlow opens the table properties; see Table for details about the options.

Editing Attributes

To change attribute details:

  1. In an ERD:
    • in the table, click an attribute listed in the table
    • alternatively, open the table properties. In the Attributes section, double-click on an attribute name.
  2. PhixFlow opens the attribute properties; see Attribute for details about the options.

Things you might want to edit for an attribute:

  • Change the attribute name
    Update the Basic Settings → Name field and click 
    Insert excerpt
    _finish
    _finish
    nopaneltrue
     to save.

  • Change the data type
    You may need to do this if there is a change in the data or

simply because
  • the wrong type was initially applied.

See , for more information. Note however that it is not possible to
  • .

    Note

    You can only change the data type

of
  • for an attribute

if the table
  • when it contains no data. If your attribute already contains data,

see  for details on clearing data to facilitate a data type change
  • .


  • Adding an expression

. Expressions can be added to attributes to apply processing or populate a value. For example, to uppercase the values in the attribute or setting a fixed string value. See Functions for all available options.  

  • In an attribute you can add a script that affects the attribute data using the Basic Settings → Expression field; see Expressions and PhixScriptsExpression Basics and Functions. You can:

    • check data in the attribute, for example to validate a value is present

    • process data, for example, to convert values to uppercase

    • populate an attribute with data, for example to set a fixed string value