Writing Formulas for Validation

You can use Oracle FastFormula to validate user entries into the element input values, and to user tables that you define.

arrow icon   To write a formula for validation purposes:

  1. Write and validate the formula.

    You must do this before you define the element or table, so that you can select the formula from a list in the Element window or Columns window.

  2. Define the element or table.

  3. Select formula type Element Input Validation or User Table Validation in the Formulas window.

    Rules to Observe

    For an element input value validation formula, you must also observe the following rules:

    All entry values are stored in the database as text items. Therefore, if you want to validate an entry value as a date or number, you must use Oracle FastFormula's conversion function to convert the text into a date or number type variable. For example:

    	TO_NUM (entry_value)
    
    
    	TO_DATE(entry_value,'DD-MON-YYYY')