473,399 Members | 3,919 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,399 software developers and data experts.

Help In Access 2007 - Reports

Help In Access 2007 - Report (Grouping and Sub Totaling)
I have two table one stores student information and other one is for their attendance. In the attendance table their is a field called Attendance Status which has a value of P,A,Ex or L and Block which has a value of 1, 2, 3, 4 or 5.

I am creating a report based on two tables. My report has group by student full name and sub group by attendance - i need to count how many A, Ex and L are. 3 L is equal to one absent and then i also want to have total for that student for example John Smith has 3 A, 6 L or his total absent is 5

More Details
Student Table has the following fields:

Student ID Text
Full Name Text
Program Text

Attendance Table
Student ID Text
Attendance Status as Numeric
Block as Numeric

In the Form for Attendance which is a Sub Form of Student and I am using Radio Button Option as
P is 1
A is 2
Ex is 3
L is 4

Block is also as Radio Button
1
2
3
4
5
6

In my report i have group it by Full Name, and a sub group by attendance status. Any student who is late 3 times is equal to 1 absent so for example

John Smith is Absent 3, Late 6 so his total absent is 5

In my report i need to show all the absent, late and exused as a group under the student name

In a report i need for each student total of Absent, Excused or Late and then total of all

Thanks to all
Jun 25 '08 #1
1 1584
NeoPa
32,556 Expert Mod 16PB
It seems to me that you need to start with your data. The Attendance table seems to be missing a date field. It makes little sense without one.

When your data is sorted you need to consider the query that the report will be based upon. Something "LIKE" the following :
Expand|Select|Wrap|Line Numbers
  1. SELECT S.[Student ID],
  2.        S.[Full Name],
  3.        S.[Program],
  4.        A.[Attendance Status],
  5.        A.[Block]
  6. FROM [Student] AS S LEFT JOIN [Attendance] AS A
  7.   ON S.[Student ID]=A.[Student ID]
From this point you need to build your report. If you have more questions, they need to be more specific, but if they are we can help.
Jun 27 '08 #2

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

Similar topics

37
by: jasmith | last post by:
How will Access fair in a year? Two years? .... The new version of Access seems to service non programmers as a wizard interface to quickly create databases via a fancy wizard. Furthermore, why...
10
by: c9stealth | last post by:
I'm new to this Forum and to Microsoft Access, so that being said I'm sure this is an easy fix. I am making a database for my unit and I am stuck on my gains loss reports. I've tried using the...
2
by: Wayne | last post by:
I've been having a click around Access 2007 this afternoon and have discovered some things that range from annoying to alarming. My Access 2003 menu bars, which I, like many others, use...
16
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
2
by: ARC | last post by:
Just curious if anyone is having issues with Acc 2007 once the number of objects and complexity increases? I have a fairly large app, with many linked tables, 100's of forms, queries, reports, and...
2
by: kenmasters675 | last post by:
I need help with the following code. I am trying to extract two reports at the same time, but I want the viewer to see the report first before exporting it. The reason is in case the report is null....
5
by: WPW07 | last post by:
Hello, We have several complex applications developed in Access 2003 by various outside consultants. These applications link to a variety of Oracle tables and are used only for Access reports. ...
9
by: prakashwadhwani | last post by:
Hi !! I'm about to develop a new project for a client. Should I go about it in Access 2003 or 2007 ? Purchasing it either for me or for my client is not a major consideration here ... what I'd...
4
by: Simone | last post by:
I understand there is an add in that allows you to export to PDF in Access 2007. My question is does anyone know if this add in allow you to combine multiple reports in one PDF? I am currently...
10
by: Snoopy33 | last post by:
I have a DB that I developed on access XP (2002) and deployed over a year ago. No one has had problems printing any of the reports within the DB until we started loading 2007 on new computers. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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...

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.