ddbicon.pngDDBuilder: Editing Typedef Rules (Superseded)

DDBuilder has been superseded by the BASIS DBMS Data Dictionary module accessible from the BASIS IDE or the Enterprise Manager. Recommended for usage with ODBC/JDBC access to PRO/5, Visual PRO/5, BBj application data. DDBuilder is no longer included in the BBj download package as of version 12.0 but can be downloaded with Visual PRO/5.

Once typedef rules have been selected, they can be customized without affecting the general rules definitions, as follows:

  1. In the tree view, select the desired typedef to display the GeneralTypedef properties page.

  2. Click the Edit Validation tab to display the Edit Validation properties page.

  3. The Current rules field displays all defined rules that have been selected for this column. Click a rule to select it and display the default values in the Error message, Error procedure, and Success procedure fields.

  4. Edit the values in the Error message, Error procedure, and Success procedure fields, to customize the rules for the selected typedef:

    • In the Error message field, define the error message text that will appear when user activity causes the rule to generate a false or zero result.

    • In the Error procedure field, define the routine to be executed when the rule process generates a false or zero result.

    • In the Success procedure field, define the routine to be executed when the rule generates a true or non-zero result.

typedtvl.png