HomeUsing LincDoc 3.1+DANG Rule WizardCalculations

10.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.

Accessing the Calculation Editor

To access the editor used for this editing method, click the arrow button  adjacent to the calculation's entry in the Field attributes area, and select edit calculation. In the following example, a Calculated field is being edited.

Using the Editor

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 button  to the right of the value text box.

Here is an example of defaulting a date field to the current date.   The function CUR_DATE is made available in the value drop-down list by selecting the function button .

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 drop-down 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  button on the value field row.  

  

Note: You can also remove additional values using the  button. Furthermore, you can click clear to return the editor to its original, empty format.

This page was: Helpful | Not Helpful