Solved

Issue with running total in an access form

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

856 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