Solved

Saving a total in the footer

Posted on 2014-12-23
3
132 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 24

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

724 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