Solved

Issue with running total in an access form

Posted on 2013-10-28
6
450 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 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 39606001
0
 
LVL 22

Accepted Solution

by:
Flyster earned 500 total points
ID: 39606006
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
ID: 39606079
Thanks so much. Works like a charm

Vinnie
0
 

Author Comment

by:damixa
ID: 39606137
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 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 39606138
damixa,

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

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
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 …
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

785 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