Solved

Saving a total in the footer

Posted on 2014-12-23
3
125 Views
Last Modified: 2014-12-24
I made a textbox in the footer to capture the total for my inputs into the blank fields...but it seems to only update when I click to save the form.  Is there any coding I can write to save (update the footer field) when I input into the blank field in the detail section?
0
Comment
Question by:Jass Saini
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 40515225
is the textbox in the footer bound to a field?

if not, place this in the control source of the textbox

=nz(text1) + nz(text2) + nz(text3)

replace name of textbox accordingly
0
 
LVL 23

Expert Comment

by:Eirman
ID: 40515232
If, for example your text box is called    txtTotal
Enter this in the after update event of the form

Me.txtTotal.Requery
0
 

Author Closing Comment

by:Jass Saini
ID: 40516806
Thanks
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question