Possible bug in calc field
Posted: Thu Mar 16, 2023 5:11 pm
I have a form with two subforms and two 'Calc' fields in the main form with 'nuTotal' for each subform.
I also have a third 'Calc' field with a difference for the subform 'nuTotal' fields
If this third field is placed in the 'Arrange object' field list above any 'nuTotal' field, a strange situation occurs: I mark a line in one subform for deletion, the 'nuTotal' field for that subform reflects the deletion, but the overall calculation field remains unchanged. When I remove the deletion mark for the same row - the subform calculation field works correctly, but the overall calculation field changes the value as if the undeleted row was deleted.
Possible workaround - place calc fields as low as possible and most dependent field should be lowest.
I also have a third 'Calc' field with a difference for the subform 'nuTotal' fields
If this third field is placed in the 'Arrange object' field list above any 'nuTotal' field, a strange situation occurs: I mark a line in one subform for deletion, the 'nuTotal' field for that subform reflects the deletion, but the overall calculation field remains unchanged. When I remove the deletion mark for the same row - the subform calculation field works correctly, but the overall calculation field changes the value as if the undeleted row was deleted.
Possible workaround - place calc fields as low as possible and most dependent field should be lowest.