HomeUsing LincDoc 3.0DANG Rule WizardCalculations

7.8. Calculations

You may also directly edit the calculation without using the calculation wizard.   This method gives you full control over the calculation's definition.

Calculation window

In the example below, the contact_optlist is the target field that will be set to the calculation's output value.   The calculation is configured to set the contact_optlist field to a manually entered value or constant of "Cell Phone".   Manual value entries are accessed using the pencil icon  to the right of the value field.

Here is an example of defaulting a date field to the current date.   The function CUR_DATE is made available in the value field by selecting the function icon .

Functions may require zero or more input values or parameters.   In the example above, the current date function (CUR_DATE) does not need an input value.   An age calculation using the YearsSince function has one input value, the contact's birth date (contact_birth_dt) field.   Fields are listed in the input value list when the field option button  is selected.

In the case of the implementation of a W4 form, lineH is the sum of lines A through G.  Additional values were created by clicking the plus button on the value field row.  

  

This page was: Helpful | Not Helpful