473,473 Members | 1,999 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

counting unduplicated records

i am having the hardest time trying to get an unduplicated count of
student IDs from my report.

i have the following report
Student ID Term Hours
1111111 SU04 1.0
1111111 FA04 4.0
2222222 SU04 5.0
3333333 SU04 3.0
3333333 FA04 6.0

Total Unduplicated Count ??? (should be 3--count of unduplicated
student IDs)
Total records read 5 (OK---can get this)

it's probably simple but I seem to have tried almost everything. I
read about creating a sub report but I don't know how to do this or if
it will even solve my problem.

Help Help!
Nov 13 '05 #1
1 2572
Using the Sorting And Grouping dialog (View menu, from report design), add a
Group Footer section for StudentID.

In this section, and a text box with these properties:
Control Source =1
Running Sum Over All

This text box will accumulate the count of students. If you wish, you can
set its Visible property to no, and then put another text box into the
Report Footer section, and make it equal to that one.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"mjobrien" <mj******@elcamino.edu> wrote in message
news:63*************************@posting.google.co m...
i am having the hardest time trying to get an unduplicated count of
student IDs from my report.

i have the following report
Student ID Term Hours
1111111 SU04 1.0
1111111 FA04 4.0
2222222 SU04 5.0
3333333 SU04 3.0
3333333 FA04 6.0

Total Unduplicated Count ??? (should be 3--count of unduplicated
student IDs)
Total records read 5 (OK---can get this)

it's probably simple but I seem to have tried almost everything. I
read about creating a sub report but I don't know how to do this or if
it will even solve my problem.

Help Help!

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: C White | last post by:
A little while back I had a question about counting records and my example was something like this: in my database table i have the following records john ed john rick tom
2
by: N. Graves | last post by:
I have a table with records of games played with a field for players name and another fields is a "WinorLose". One player may play several games to complete a match. I want my report to tell me...
1
by: mjobrien | last post by:
Thanks for the hint Allen (see below). But I am already doing that count as total records read (5)in the report footer. That count is unduplicated for the record not for the field - student ID as...
5
by: chrisc | last post by:
Hello, Hope this is the right place for this... I am creating a testing database for components as they come off a production line. My reports need to select faults that are found, as well...
18
by: ChadDiesel | last post by:
I appreciate the help on this group. I know I've posted a lot here the last couple of weeks, but I was thrown into a database project at my work with very little Access experience. No other...
1
by: Baldy | last post by:
I am trying to get unduplicated counts from a table. I am not sure how to build a query that will give me the information I want in an unduplicated count! The following is the list of fields in the...
0
by: Chia Lee Lee | last post by:
Hello… I have problem when counting the number of records, which is based on the start date and end date. I have tried to use message box to prompt the result, but the result given is...
7
by: mwang | last post by:
I have sql like this: select count(*) from TRANSACTION transaction0_ where transaction0_.CREATED > sysdate - 10 and exists (select lineItem.TRANSACTION_ID from LINEITEM lineItem where...
8
by: crassostrea | last post by:
Hello and Happy New Year, I have two tables in Access 2003 (Windows XP) with similar, but different, information. We’ll call them table A and table B. I want to count the number of records in...
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...
1
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
tracyyun
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...
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...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
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...

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.