473,488 Members | 2,464 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Count number of records

I need to be able to count the number people who are registered in a
certain IT course. i need to display the results on a form or report.

This is for my A level courswork please help!

thanks
Nov 12 '05 #1
2 3639
On 23 Jan 2004 08:10:15 -0800, an*********@hotmail.com (Andy) wrote:
I need to be able to count the number people who are registered in a
certain IT course. i need to display the results on a form or report.

This is for my A level courswork please help!

thanks


Am I to understand this is for your computer homework? Have you thought of
looking in the manual, the help system, and/or the example databases?
Nov 12 '05 #2
These are rather general requirements, one could only provide a general
answer.
Create a new query, add the fields you wnat to include such as Name and
Course.
Turn on Totals by choosing "Totals" from the View Menu.
In the bottom of the query window, choose Count in the Totals line of the
Name Field, and leave Group By in the Course Field.
If you leave it at that and run the query, you will return a Count of names
for each course in the table (only one record line for each course). If you
only want a specific course, specify it in the Criteria lines of the query
design grid.
Save the query and close it.

Use the Form Wizard to create the desired style of form, basing it on the
query you just created.
Done.

Mike Storr
www.veraccess.com


"Andy" <an*********@hotmail.com> wrote in message
news:a7**************************@posting.google.c om...
I need to be able to count the number people who are registered in a
certain IT course. i need to display the results on a form or report.

This is for my A level courswork please help!

thanks

Nov 12 '05 #3

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

Similar topics

6
44076
by: Hari Om | last post by:
Here are the details of my error log files: I execute the command and get following message at console: ---------------------------------------------------------------------- ../sqlldr...
1
6448
by: Irfan | last post by:
Hello, I am having some problem with count function. I have a report in which has grouping by a person wise and sub grouping in invoied status e.g.. the output will be Irfan Records (First...
0
2637
by: DataFreakFromUtah | last post by:
Hello! No question here, just a procedure for the archive. Search critera: count records imported count data imported count number of rows imported count number of records imported record import...
4
366
by: Anuradha | last post by:
Dear Experts How can I count records in a data reader? Thx Anuradha
22
12418
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="...
2
2919
by: weird0 | last post by:
What is the best way to count the number of records in a MS SQL DB. The way I do it is executeReader() and loop through all the records in a db and increment variable RowCount++. Is there...
9
2752
by: MLH | last post by:
A mailing list table in its virgin state contained sequential, consecutive integers in an autonumber field (A97). I've deleted records throughout the table. Now I would like to identify each...
6
24680
markrawlingson
by: markrawlingson | last post by:
Hopefully someone can help me out with this, it's driving me nuts... I have two tables - We'll call them table1 and table2. Table1 holds event information, and table2 holds user registration data...
2
8971
by: mfaisalwarraich | last post by:
Hi Everybody, I am using the following code to get the recordset of an external database. Dim dbPatients As Database Dim rsCountPatients As Recordset ' to count number of...
4
5711
by: AccessHunter | last post by:
Hi, I have a table with the type of data as below, sorted as follows, Case (ascending), Loc (ascending) and Transaction Date (ascending). CASE LOC TRANSACTION DATE FACILITY...
0
6967
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...
1
6847
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
5445
agi2029
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,...
1
4875
isladogs
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...
0
3078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1383
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
618
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
272
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.