473,387 Members | 1,579 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.

Count some data in same field in ms access

I have a data base in MS Access .There is a field named "Age" I want to count how many persons age 35,34,33'...so on.
Mar 21 '14 #1
3 1346
Kaloka
4
Group by is your keyword http://office.microsoft.com/en-001/a...001231482.aspx
Mar 21 '14 #2
1.Create a select query and include the table containing "Age.
2.Drag Age to the field row in first col.
3.Drag another field (key field) to the field row in the second column.
4.From the ribbon in the Show/Hide section click on Totals to show the Total row in the query grid.
5.In the dropdown in the first column total row select Group By.
6.In the dropdown in the second column total row select Count.
Run the query. Will get the age in the first column and the total for that age in the second column.
Mar 21 '14 #3
zmbd
5,501 Expert Mod 4TB
You can use the [AGE] field in both columns, this way you will by default get a field named [Count of AGE] when the query is ran.

Kaloka, although your link is technically correct, for someone that doesn't know how to write SQL, which is what OP's post indicates, the following link may be a better fit:

Count data by using a query (ACC2007/2010)

The process is much the same in earlier versions; however, the location of total toggle varies a little bit.
Mar 26 '14 #4

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

Similar topics

1
by: SD | last post by:
Hi, This is driving me nuts, I have a table that stores notes regarding an operation in an IMAGE data type field in MS SQL Server 2000. I can read and write no problem using Access using the...
3
by: sridevi | last post by:
Hello How to export data from ms-access database to excel worksheet using ASP. mainly i need to export data to multiple worksheets. it is very urgent to us. i have a sample code which works...
2
by: Rolf | last post by:
Hi all, I Have a web page wich displays some data from an access DB using the Datalist control. I have 1 problem with a field of the type Data/Time. When I display the field using <%#...
2
by: rajaaryan44 | last post by:
how can we transfer data from one access database to another databse . the table name is same for both the database . in one table some records are there (rs say e.g.) now another table has say rs+10...
5
by: rekhasc | last post by:
how to store the month and year in the same field in the database using a query....i have a query which stores current month and year in the different fields.... but i want to store in the form...
1
by: krikaran adel | last post by:
Hi, First of all I found your tips very usfull, of course these tips becuas of all years working in access. really greet site. my Quation: is this away to change fonts in reports so the...
1
by: Michael Fuller | last post by:
We are currently searching for a solution to manage data. We have a bunch of laboratory and field analytical data in an Access 2003 database. We also have some plant process data that is recorded...
3
by: Jeff Karli | last post by:
What I am trying to do is to , while in the current form, copy data from a field in the current record and paste it into the same field on the same form of a new record. This code below works in one...
2
by: Jason Stinson | last post by:
I am trying to create a small report and what I want to do is pull the same field in a query 4 times and I am trying to alias the field and also have it just count the number of records, not give me...
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...
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: 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
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:
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
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.