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

Calculation in access

4
I'm using Access as my database, and i have a table like this;

Schedule Inseam Size Total
----------------------------------------------------------
12100 30 32 10
12100 30 32 9
13100 32 38 7
14100 34 38 8

And i wan my table do the calculation like this;

Schedule Inseam Size Total
----------------------------------------------------------
12100 30 32 19
13100 32 38 7
14100 34 38 8

Means that if its have same "Inseam" and Same "Size" it will auto calculate for me. Any idea and advise on how to do this calculation? Thanks
Jul 11 '07 #1
3 1271
MikeTheBike
639 Expert 512MB
I'm using Access as my database, and i have a table like this;

Schedule Inseam Size Total
----------------------------------------------------------
12100 30 32 10
12100 30 32 9
13100 32 38 7
14100 34 38 8

And i wan my table do the calculation like this;

Schedule Inseam Size Total
----------------------------------------------------------
12100 30 32 19
13100 32 38 7
14100 34 38 8

Means that if its have same "Inseam" and Same "Size" it will auto calculate for me. Any idea and advise on how to do this calculation? Thanks
Hi
How about

SELECT Schedule, Inseam, Size, Sum(Total) as SumOfTotal FROM YourTableName GROUP BY Schedule, Inseam, Size

??

Paste this in to the query designer SQL view (with the correct table name).

MTB
Jul 11 '07 #2
xwings
4
Its Works!! thanks lot Appreciate Your Help very much!!
Jul 11 '07 #3
MikeTheBike
639 Expert 512MB
Its Works!! thanks lot Appreciate Your Help very much!!
You are very welcome

MTB
Jul 12 '07 #4

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

Similar topics

5
by: Aravind | last post by:
Hi folks. I have a form, frmHistory, that has the following code for its On Open event. =-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-= Private Sub Form_Open(Cancel As Integer) ...
2
by: Del | last post by:
Thanks in advance for any help. I have a database that was created in Access 2000. Several users have been upgraded to Access 2003. Since upgrading to 2003 we have noticed that some of the...
1
by: cdelaney | last post by:
I have a form that I created a calculation on using 2003. The calculation works exactly like I want it to but ONLY on the first and last record. The calculation does not work/exist on records in...
0
by: gavo | last post by:
Hi. using A2K; i have a form containing a continous subform. The question is, how can i call a calculation for one of the fields in the continous subform from the main form. At the moment i...
1
by: jlf | last post by:
Need serious help with a calculation. The fields are based on a query that has linked many different tables. The calculation I currently have is: =sum()/((+)*(Piecesnum])) It is giving a...
1
by: gjoneshtfc | last post by:
Hello, I have an asp page that is a table. In the table the end column is a calculation of other values, for example: ...
6
by: KimC | last post by:
I have a question about how to perform a calculation. I'm using Access 2003 in Windows XP. I have three fields of different measurements, which I'll call A, B, and C. Those numbers get crunched...
1
by: c8tz | last post by:
This is a query I have created that picks up the top 3 dates for this data (for example) : Tree Pos2 Date 1 15 23/08/2005 1 20 12/02/2006 1 32 15/10/2006 ...
1
by: PeterdeHoogh | last post by:
Hi, I'm new to Access and want to write a small programme for the administration of a family confection business. For that I want to use a form in which I can easily access the order information for...
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: 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
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...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.