IBM Datacap, Version 8.1            

Validating the grid total

This validation ensures that the grid total (Other_Charges_Total) equals the sum of the line item totals (Total)

There are different methods to do this calculation. You can attach the following rule to the page's Close element:

The validation action looks a little unusual:

CalculateFields("'Total' = 'Other_Charges_Total'")

The reference to Total sums all of the child fields that are labeled Total. The action then compares the sum to the Other_Charges_Total field.



Feedback

Last updated: November 2013
dcadg624.htm

© Copyright IBM Corporation 2013.