Results 1 to 3 of 3
  1. #1
    dargo72 is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Sep 2012
    Posts
    53

    Update "Total" Field on Form

    I have a form in which I place scores for various tasks. I also have a "Total" field which I would like to update dynamically when I enter in individual scores.



    For the total field, I have the following expression:

    =Nz([Newsletter Score])+Nz([Shift Reinforcement])+Nz([Physical Walk Through Pilot])+Nz([Peer to Peer Integration Meetings])+Nz([Follow-Up Communication])

    It does update if I goto a new record and come back, however, I would like it to update as folks are entering scores in the individual boxes.

    How do I do this?

    Thank you,

  2. #2
    Rawb is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    You need to add an After Update Event to the fields "Newsletter Score," "Shift Reinforcement," "Physical Walk Through Pilot," "Peer to Peer Integration Meetings," and "Follow-Up Communication." that forces the Total Field to update itself:

    Code:
    Me!Total.Requery
    (Assuming the name of your Field is "Total")

  3. #3
    dargo72 is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Sep 2012
    Posts
    53
    worked perfect, thank you.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 07-25-2012, 06:42 AM
  2. 2003 Query "Total" Missing in 2007
    By Buchal in forum Queries
    Replies: 3
    Last Post: 02-14-2012, 09:43 AM
  3. Update query from form "invalid use of null"
    By Lady_Jane in forum Programming
    Replies: 4
    Last Post: 08-16-2011, 01:37 PM
  4. Replies: 16
    Last Post: 07-22-2011, 09:23 AM
  5. Replies: 7
    Last Post: 01-23-2011, 12:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums