Hello and Welcome,
May I ask why you're storing calculated values (via the main form bound controls)?
And it almost looks as if your Sum should be a Count instead...
Apologies for not addressing your problem directly, but perhaps if these aspects of your circumstances are considered, it may...