473,394 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

MS Access see detail Total when Focus on Total Field

I have a "Total" on a Form of a Invoice amount: $3,000.

When I click on the "Total" field of $3000, I would like to see the detail charges that made up the $3,000.

09/15 Charge 1: $1,000
09/20 Charge 2: $1,000
09/22 Charge 3: $1,000

Thank you, I greatly appreciate your help.
Sep 23 '15 #1

✓ answered by hvsummer

that total I guess you sum with ID or CODE for each object, right ?
then image now you need to see where those total from, the invoice.

now, you need a combobox/listbox on top, on left or anywhere you need. (let call this ABC)

set row source to query that SELECT that ID/code and invoice's charges as field FROM table invoice.

Next, give the field ID/code this criteria Forms!nameofform!nameofID/codecontrol/box (/ mean or, id/code - id or code - explain, not the code's format)

point to the total box/field, on event, find the onclick event, give it this code vba
Expand|Select|Wrap|Line Numbers
  1. private sub box/field_click
  2. me.ABC.requery
  3. end sub
  4.  
when you choose the ID or Code to see the total, detail about each charges on invoice will show in new listbox/combobox you have created.

1 937
hvsummer
215 128KB
that total I guess you sum with ID or CODE for each object, right ?
then image now you need to see where those total from, the invoice.

now, you need a combobox/listbox on top, on left or anywhere you need. (let call this ABC)

set row source to query that SELECT that ID/code and invoice's charges as field FROM table invoice.

Next, give the field ID/code this criteria Forms!nameofform!nameofID/codecontrol/box (/ mean or, id/code - id or code - explain, not the code's format)

point to the total box/field, on event, find the onclick event, give it this code vba
Expand|Select|Wrap|Line Numbers
  1. private sub box/field_click
  2. me.ABC.requery
  3. end sub
  4.  
when you choose the ID or Code to see the total, detail about each charges on invoice will show in new listbox/combobox you have created.
Sep 23 '15 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: j.mandala | last post by:
I have a memo field in an appointment application that stores session notes for group psychotherapy sessions. Each attendee of the group has an appointment record. I want to be able to write a...
5
by: sling blade | last post by:
Hi, I have an web app and I am using access 2002 and VB.net. I am using a data adapter to fill a dataset. I am retrieving product descriptions, some are long and i have used a field of memo...
4
by: steph | last post by:
Hello, I've got a text field in an access form (Microsoft Access 2002, SP3), that the user has to fill out. Now I don't want the user to leave this field (and this record) until he has filled...
15
klarae99
by: klarae99 | last post by:
I am working on an Inventory Database in Access 2003. I am working on a report that I could print when its time to file our State Sales Tax paperwork. The figures I need for this report are Total...
2
klarae99
by: klarae99 | last post by:
Hello, I am working in Access 2003 on an inventory database. Right now I am working on a report which will be used to fill in forms that our state requires periodically to collect taxes. Right...
3
by: Ghaime | last post by:
I have a form with an unbound textbox and after receiving a value, some checks should be done and maybe even some records inserted in the subform. All of that is going well, but the problem is that...
7
by: Arunansu | last post by:
How shall I count (Sum)a running total of each page and display and finally show the grand total and display the same in the last page in MS-Access Report? Please help me. Arunansu Dasgupta
1
by: kasim3098 | last post by:
name jan feb a 20 10 b 30 20 c 40 30 i have this data and i need this as name jan feb total a 20 10 30 b 30 20 50 c 40 30 70 total 90 60 150
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.