473,387 Members | 1,592 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,387 software developers and data experts.

Group by totals in a subform

I have a subform within a form that lists detail records for a specific account that is selected by a combo box in the forms header. The records contain the type of records (A01, A02, D01, D02 etc and there could be multiple A01, A02 etc), another defining code and an amount for each. My question is, can one add up all the A01's and display a sub total, then the A02s and list a sub total etc in a continous bound access form? I know you can do this in a report but how about a subform?

For example

A01 AA $10.00
A01 BB $30.00
A01 DD $25.00
A01 $65.00
A02 AA $20.00
A02 BB $5.00
A02 $25.00
Apr 14 '10 #1
4 2706
mseo
181 100+
As I understood from you, the items (A01AA, A02 BB, ... etc) can be considered as products, but not so, the point i want to clarify
it seems like you have a lot of records with a lot of different items to the extent that you can't get the sub total of each, is that right?
you can create new subform and set its query to get the subtotal of the items in the subform that you have
Apr 14 '10 #2
@mseo
Thanks for the response.
What the user wants is to mirror what they now have when they create an excel spreadsheet. They produce a worksheet with columns of sorted data and within the sheet they insert a row and add up the those specific records then continue with the next set of records. I guess maybe "insert" is a better way to ask if this can be done. Will this new subform's total be inserted after each specific group's data?
Apr 15 '10 #3
NeoPa
32,556 Expert Mod 16PB
The answer is that you cannot do it directly in a form. The only headers/footers available are Page & Form ones, and it's Group ones you'd want for this.

That said, MSEO's suggestion of inserting a sub-form may be possible to get to work. I'm not very experienced at that level in forms to be honest. If not, then I don't see it can be done at all.
Apr 15 '10 #4
Thanks for all your help. I'll give it a try. Maybe this could be an enhancement of Access in the future!
Apr 15 '10 #5

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

Similar topics

3
by: Karl Roes | last post by:
Hi All, I would also like some help with form filtered differences in totals. I have a main form for the client, and a continuous subform listing client transactions. The subform can be...
1
by: oncewaswillow | last post by:
Hi, I have 3 nested forms and want to calculate a total on the first subform (as the form loads)by adding 2 fields from that form + to a field on the second subform. Second subform is and...
7
by: Ken Mylar | last post by:
First a quick background on the form: I have a form that is normally viewed in Single form mode. It has a subform on it that is in datasheet view. The main form is for work orders and the...
2
by: Tim Marshall | last post by:
Wondering if anyone has any suggestions for this. Sometimes in the form reports my users run, a data sheet subform on a main form, with totals in text boxes with calculated controlsources...
4
by: Steve_s | last post by:
Hi I am having problems totalling a particular field in a subform.I am using Access 2003. The subform is based on a query which selects records with various financial information. I have 5 text...
10
by: rdemyan via AccessMonster.com | last post by:
I have a subform that displays around 10 fields. Most of the values shown result from some complex calculations. To make it easy, I have stored the results in a temporary table and then all I...
2
by: Ron | last post by:
Hi All, I've got a main form (frmMain) with 5 subforms on it. All subforms are linked to different hidden controls on frmMain. The purpose of this form is to record payments by 'source'...
2
by: hanshirley88 | last post by:
Hi, I am doing an expense and funding report which contains a list of consumers by Region and then by SiteID. For example, Region: NE Site: NEMV 1. Mary Doe 2. Len Willams
8
by: elias.farah | last post by:
Hello Everyone, I'm having some very weird behavior on a couple of Access forms. (Not all forms, just some of them). The forms have been working for years, under Access XP/2003 etc, and last...
1
by: csolomon | last post by:
Happy Friday! I was wondering if you can have more than one total in the footer. I ask this because when I set up one of my totals in the footer (lets call it total1), it works (slowly but it...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.