aquinachuva
New member
- Local time
- Today, 09:35
- Joined
- Sep 20, 2009
- Messages
- 3
Hello. I have a parent form with bound fields for totals from a child form. The child form is continuous and I am using text boxes in this sub form’s footer to calculate the totals. The control source for one of these fields looks like this: =Sum(IIf([homen]='1',1,0)). I then use a button on the main form to pass the values to bound controls on the main form. When I use the mouse to move out of the subform and click on the mainform button, the last subform record is not included in the sums. I have tried requery and recalc. These do update the subform totals in the subform footer, but only after my code to copy the values to the main form has run. I have lots of controls on the subform (>30). If I reduce this to <10, it seems to work. So,the problem is probably the delay in calculating. Any ideas on how to deal with this?
Thanks,
Rob
Thanks,
Rob