I need to display the count of records there are for each unique value
in a table. In this case, it is by date - how many calls are scheduled
for each date. Each call is a record in a table. So the results of the
query would look like this:
08/17/07 - 16
08/18/07 - 13
08/20/07 - 21
08/21/07 - 03
08/23/07 - 09
09/20/07 - 03
01/05/08 - 01
I've been using a crosstab query, but I know there has to be a better
way, because I feel like I have been manipulating the purpose of the
crosstab wizard to get what I want. I want to be able to accomplish
this through design view.
Thanks in advance for your help! 2 1402
On Thu, 16 Aug 2007 15:02:07 -0000, magmike <ma******@yahoo.com>
wrote:
Create a new query. Select your table. Drag the date field to the grid
twice. Hit the sum button. Change the second GroupBy to Count.
-Tom.
>I need to display the count of records there are for each unique value in a table. In this case, it is by date - how many calls are scheduled for each date. Each call is a record in a table. So the results of the query would look like this:
08/17/07 - 16 08/18/07 - 13 08/20/07 - 21 08/21/07 - 03 08/23/07 - 09 09/20/07 - 03 01/05/08 - 01
I've been using a crosstab query, but I know there has to be a better way, because I feel like I have been manipulating the purpose of the crosstab wizard to get what I want. I want to be able to accomplish this through design view.
Thanks in advance for your help!
On Aug 16, 10:20 am, Tom van Stiphout <no.spam.tom7...@cox.netwrote:
On Thu, 16 Aug 2007 15:02:07 -0000, magmike <magmi...@yahoo.com>
wrote:
Create a new query. Select your table. Drag the date field to the grid
twice. Hit the sum button. Change the second GroupBy to Count.
-Tom.
I need to display the count of records there are for each unique value
in a table. In this case, it is by date - how many calls are scheduled
for each date. Each call is a record in a table. So the results of the
query would look like this:
08/17/07 - 16
08/18/07 - 13
08/20/07 - 21
08/21/07 - 03
08/23/07 - 09
09/20/07 - 03
01/05/08 - 01
I've been using a crosstab query, but I know there has to be a better
way, because I feel like I have been manipulating the purpose of the
crosstab wizard to get what I want. I want to be able to accomplish
this through design view.
Thanks in advance for your help!- Hide quoted text -
- Show quoted text -
That's fantastic. Thanks! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: leegold2 |
last post by:
Below is some code from a FULLTEXT search. My question is how do I get a
count of the number of rows found by the search?
$query="SELECT * FROM balloon_txt WHERE MATCH(access_no, recs_txt)...
|
by: Terri |
last post by:
I have a form with a multi-select combo. I dynamically build a SELECT
statement, open a report, and set the recordsource to my dynamic SELECT
statement. I count the records returned in the report...
|
by: Hugo L. |
last post by:
Dear
I have a table with a Text field named "Attest". In that field I can
fill in 4 possibilities: A, B, C or D.
In a report based om that table I want to count how many times I
filled in...
|
by: Nicolae Fieraru |
last post by:
Hi All,
I have a query, Select Count(BoolField) from tblMyTable, Where BoolField =
true.
If I run the query by itself, it returns the number of true records
I want to use the result of that...
|
by: sunilkeswani |
last post by:
Hi
I am still new to access. I want to know how i can build a query which
can display results from 4 different columns/fields
Like.
Field1 Field2 Field3 Field4
1 2 1 ...
| |
by: heckstein |
last post by:
I am working in Access 2002 and trying to create a report from our company's learming management system. I am not a DBA and most of my SQL knowledge has been self taught through trial and error. I...
|
by: MP |
last post by:
vb6,ado,mdb,win2k
i pass the sql string to the .Execute method on the open connection to
Table_Name(const) db table
fwiw
(the connection opened via class wrapper:)
msConnString = "Data Source="...
|
by: Auddog |
last post by:
I have the following query that works in mysql:
select id, order_no, price, count(item_no), sum(price) from production
WHERE item_no = '27714'
group by item_no;
When I setup my query in php,...
|
by: Genalube |
last post by:
I am trying to count the number of owners that show up in a query (conveyQuery). The query will produce a column OwnName that will contain names like John Smith, Mike Jones, Frank Vaugn. Each of...
|
by: kummu4help |
last post by:
hi,
i am using mysql. i have 3 tables with following structures. these are not actual tables i am working on.
table A
id varchar(16),name varchar(255),InDate datetime
table B
id...
|
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,...
| |
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...
|
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,...
|
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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |