Forum Discussion
UNCHECK BALANCE ITEM FROM A BILL
The totals query would be set up to sum only checked items, or items with "Yes" in that field. So, what is different?
Thank you for your firm commitment to help me out.
As I said, I am getting the results depending on whether I select 'Yes' or 'No' after applying a query.
But my interest is on how, possibly, you get the values directly on a form when you click on the check box with/without filtering the Yes or No values with a query. As in the example I gave in my first question, say you have;
Item one: $100
Item two: $50
Item three: $25
Total: $175
Assuming all the values are set to Yes or no, how if I uncheck one Item do I get the total reduced directly on the form, nd when unchecked the item still appears on the form but only its value is not applied in the total? Is there some coding involved behind this work around?
I hope, may be, I have asked clearly now.
- George_HepworthMay 24, 2023Silver Contributor
First, my apology for the slow response. This forum has to be the least usable forum around.

So, perhaps I didn't dig deep enough into the original problem. There are actually two different things going on it seems. One is the ability to check which items to include.
The other is the calculation on the form showing the total of the values for "checked" items. That's the part I overlooked.
How are you displaying that total on the form? Is it an expression in a control? Or, as I perhaps wrongly assumed, a calculation in the underlying query? If the former, there's one approach. If it's the latter, there is another approach that would work better.
- George_HepworthMay 24, 2023Silver Contributor
This might illustrate the two approaches mentioned previously. There are other variations that could be used, so consider these starter ideas.
- CletusKMay 26, 2023Copper Contributor
Thanks for your help. I think I've ill try to workaround the second approach and if I encounter any challenge, I'll ask the community again. Meanwhile I'll go through the file you sent and then I'll let you know of the outcome.
Just a kindly request however, if you could send me a link to some of the most active forums,I'll greatly appreciate.
Good day!