I have a form with multiple records and I need to a calculation
on each record that is based on the previous record’s value. We were
using version 1.1.2 and the preUpdate was called for every record even if an
update was not made, so I was comparing the database record count with a
counter for each record processed through the preUpdate and storing the each fieldValues
into an object. When the counters match (on the last record) I performed the
calculation by looping through each fieldValues in the object. Now we are upgrading to version 2.5 and this does not work because
it looks like the preUpdate is only called if the user make
a change in record. So, if they only change one record the counter never
reaches the record count and the calculation is never performed. Does anyone have any suggestions on how do work around this
issue? Is there something that can be called after all preUpdates are completed
or even after all postUpdates are completed? Thanks in advance, Heather Aguilar |
- [dbforms] Mulitiple Records Calcuations Heather Kirkland
- AW: [dbforms] Mulitiple Records Calcuations Henner Kollmann