HomeUsing LincDoc 3.1+DANG Rule WizardDefault Calculations

10.12. Default Calculations

Default calculations allow you to pre-fill field values to streamline data input.

In the following example, consider the situation of a company monthly expense report. You may wish to default the start date to the first of the current month and the end date to the last day of the month. This action is accomplished by setting up default calculations.

  1. On the Fields/Sections tab, select the Expense_Period_Start_Date field.
  2. In the Field attributes area on the right side of the tab, click the advanced check box.
  3. Click the Default Calculation check box.
     
  4. Click the arrow button  that corresponds to the Default Calculation entry. Additional options appear.
  5. Click edit calculation.
    Note: You could also use the calculation wizard to create a default calculation.
  6. Click the function button, and choose StartOfMonth from the function drop-down list.
  7. From the date drop-down list, select the CUR_DATE parameter.
  8. Click OK to complete the set up. 
  9. Configure the default calculation for the Expense_Period_End_Date in a similar manner using the EndOfMonth function.

This page was: Helpful | Not Helpful