Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display a total on a form

Status
Not open for further replies.

kporters

Programmer
Jan 11, 2002
21
US
I have a form that updates checking account info. I want to display a running total. I have been able to display a total per record but how do I make the display show a running total?

thanks in advance
 
Use DSum Function in Form_Afterupdate event.Like below example
DSum([Field Name],[Table Name],Criteria(optional))
intCount = DSum("[Physical Count]", "[Physical Count Temp]", "[Batch Number] =" & Me![Batch Number])

Please remember to give helpful posts the stars they deserve!
This makes the post more visible to others in need!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top