Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 13th, 2007, 06:37 PM
Registered User
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default simply query calculations!!!!!!

I know this is basic but ive read the books and i just cant get my head around this... please help, if i get it once ill crack it after that....

I have a form with 20+ subforms. So a MAIN table and 20+ SUB tables...

Each record in the SUB table has 3 fields to add together to get a subtotal... the subtotal is then applied to a catagory based on the selector of another field in the record....

So F1+F2+F3=SUBTOTAL
SUM SUBTOTALS WHERE F4=A
SUM SUBTOTALS WHERE F4=C
ETC.....

Then i need to SUM all the TABLES still in catagory A,B,C etc...
Then SUM the catagories...

Should i do this as 1 query or use a query for each table and add the queries?
How do I set up the table query...??????

Cheers in advance......





Similar Threads
Thread Thread Starter Forum Replies Last Post
Name a range simply for each third cell wapfu Excel VBA 2 December 6th, 2006 03:04 PM
Query Calculations Kaladar Access 3 August 17th, 2005 11:59 AM
Simply Deleting Question - ThnX ! ank2go SQL Language 2 November 16th, 2004 04:55 PM
How to access Simply Accounting fields from Access lguzman Access VBA 4 September 16th, 2004 02:55 PM
Problem with a very simply code: Dango24 BOOK: Beginning ASP.NET 1.0 13 August 4th, 2004 03:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.