me.requery? total in form footer not updating

ARW17

Board Regular
Joined
Oct 31, 2016
Messages
109
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!
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
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:
Upvote 0
If there are calculated fields, Me.Recalc should refresh those.
 
Upvote 0

Forum statistics

Threads
1,214,817
Messages
6,121,717
Members
449,050
Latest member
MiguekHeka

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top