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,767
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

Active Member
Joined
Feb 5, 2018
Messages
259
Office Version
365, 2016
Platform
Windows
If there are calculated fields, Me.Recalc should refresh those.
 

Forum statistics

Threads
1,082,316
Messages
5,364,483
Members
400,802
Latest member
RichBRich

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top