Solved

Issue with running total in an access form

Posted on 2013-10-28
6
448 Views
Last Modified: 2013-10-30
Hi,
I have a seemingly simple issue with the attached form in access

currently the form "frm_qry_tbl_visa_imports" has a total text field that calculates the totals of "Amounts".

I am trying to make it so that it only does a running total of the records where "Assigned" is check as somebody checks them. So if none are checked, the total should be zero.

thanks,
Vinnie
PBJ-test-and-Trial.accdb
0
Comment
Question by:damixa
  • 2
  • 2
6 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
Comment Utility
0
 
LVL 22

Accepted Solution

by:
Flyster earned 500 total points
Comment Utility
Use this in your Total Selected text box control source:

=Sum(IIf([Assigned]=-1,[amount],0))

In your Assigned checkbox On Click event enter this:

Me.Refresh

That should update the total as the boxes are checked.

Flyster
0
 

Author Comment

by:damixa
Comment Utility
Thanks so much. Works like a charm

Vinnie
0
 

Author Comment

by:damixa
Comment Utility
I've requested that this question be closed as follows:

Accepted answer: 0 points for damixa's comment #a39606079

for the following reason:

Thanks a ton. Works like a charm
0
 
LVL 119

Expert Comment

by:Rey Obrero
Comment Utility
damixa,

you are requesting to close the Q with your post as the accepted answer???
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

772 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now