me.requery? total in form footer not updating

ARW17

Board Regular
Joined
Oct 31, 2016
Messages
79
I have a handful of similar forms. Some are updating fine and others aren't. It the Single Form, I have ~25 [expense] text boxes. For each record, some will get filled in and others won't. If certain expenses are filled in the [totalE] text box (=[E1]+[E2]+...[E25]) in my form footer updates, but for others it doesn't. I added a me.requery in the After Update of a few of the 25 text boxes and this does work, but do I really have to add this to every single text box on every form to make it reliable?

Thanks!
 

Micron

Well-known Member
Joined
Jun 3, 2015
Messages
1,742
Sounds like the calculation expression in your summing textbox is wrong or too complicated. You should be able to sum over the recordset of the form, or of the table - once the form record has been saved and if the fields with the values are bound. What is the expression in the summing control, and are the E fields bound or not?
EDIT - I might not be understanding the actual table structure. There is just one expense field with an amount that needs to be summed but that field has several form controls that are repeated according to the expense type, yes?
 
Last edited:

JonXL

Board Regular
Joined
Feb 5, 2018
Messages
226
If there are calculated fields, Me.Recalc should refresh those.
 

Forum statistics

Threads
1,078,400
Messages
5,339,991
Members
399,346
Latest member
t0land

Some videos you may like

This Week's Hot Topics

Top