473,548 Members | 2,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Attendance Report that Shows additional dates as they are added

Access 2003

I am trying to figure out how to develop a report that will display
students in 1st column, dates across the top, and "P" or "A" for the
data. I have a crosstab that displays what I want. I can create a
report that shows the data from the crosstab that looks like what I
want, However, these are "static controls" so when I add a class then
I would need to edit the report.

I need the report to show additional classes (dates) as they are added
to the database.

The final report should display simalar to an Excel spreadsheet.

Ex:
1/21 1/22 1/23
John Doe P A P
Jane Doe P P A

In the "Ex" if I added data for "1/24" then I need it to show in the
report without having to edit the report.

I hope I have explained what I am trying to accomplish here, it's late
and I'm braindead tonight.

Thanks
Dale
Jan 20 '08 #1
1 2200
Dale, there is probably more to this question than you realise.

The short answer is that you need to store the data relationally,
so the attendance table will have fields like this:
StudentID relates to a record in your table of students
ClassID relates to a record in your table of classes.
ClassDate the date of the class
AttendCodeID a value such as Present, Absent, Late, ...
You then use a crosstab query to get the results you are after.

But there's a myriad of issues to solve here as well. At the end of the
road, the column headings keep changing, so it's not easy to design the
report where the field names keep changing. Here's some approaches to deal
with that:
http://www.access.hookom.net/Samples.htm
http://allenbrowne.com/ser-67.html#ColHead

Prior to that, you need a good relational structure, where:
- one subject is taught in many classes (streams, or different semesters
over the years)
- a class may meet on multiple dates (throughout the semester)
- students enrol in a class (not a subject)
- your interface might populate the attendance records automatically (so you
just fill in the attend code field.)

--
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.

"Dale" <mt****@yadtel. netwrote in message
news:54******** *************** ***********@y5g 2000hsf.googleg roups.com...
Access 2003

I am trying to figure out how to develop a report that will display
students in 1st column, dates across the top, and "P" or "A" for the
data. I have a crosstab that displays what I want. I can create a
report that shows the data from the crosstab that looks like what I
want, However, these are "static controls" so when I add a class then
I would need to edit the report.

I need the report to show additional classes (dates) as they are added
to the database.

The final report should display simalar to an Excel spreadsheet.

Ex:
1/21 1/22 1/23
John Doe P A P
Jane Doe P P A

In the "Ex" if I added data for "1/24" then I need it to show in the
report without having to edit the report.

I hope I have explained what I am trying to accomplish here, it's late
and I'm braindead tonight.

Thanks
Dale
Jan 20 '08 #2

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

Similar topics

2
2074
by: dixie | last post by:
I have a report which is printed daily. It is a list of people. A person can be put on this list for one day, which is easyily achieved from a simple form. My problem is that a person can also be put on the list for a number of days. The information that I would then have is the person,s ID, name, the first date they are on the list and...
1
17646
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to Create a Dynamic Crosstab Report PRODUCT :Microsoft Access PROD/VER:1.00 1.10 OPER/SYS:WINDOWS
1
3883
by: Kevin | last post by:
Hi, I have an attendance database that tracks when employees are present during the week. I have a two tables that have the following information: EmployeeTable with Fields EmployeeID, First Name and Last Name. The Second table called Attendance has an AttendanceID, EmployeeID, Date and Attendance Type Field (Present, Sick etc.) I am...
2
2840
by: crier_67 | last post by:
Hello all, I'm relatively new to Access and could use some direction on this task. I have a group with a FoxPro 2.6 for DOS membership & attendance database with about 200 member records. The group operates on a 28 week schedule, with meetings once each week. At the end of 6 months they create a new 28 week schedule, but preserve the...
11
30669
by: SKBodner | last post by:
Hello, I'm stumped and I'm hoping someone could help me figure out the best way to track daily attendance for the next 6-4 months. I have a list of 80 or so participants who should be attended training on a daily basis and am tracking if they attended, have an unexcused absence, or are absence with an excuse. At the end of the month, I...
3
6446
by: gold casper | last post by:
Hi I'm working in oracle9i form developer and report developer I'm doing school attendance system to take the attendance for students but I don't know how many tables I need and how to make all the forms correctly I've done a form for registering new students, for classes, attendance and reports form attendance form here we should take...
0
2845
by: Bill | last post by:
I've searched comp.databases.ms-access for a solution and found help but still haven't got my problem solved. I want to record weekly attendance and print an attendance "check off" sheet where attendees simply check on their name row and class date column to record their attendance. The marked attendance sheet is later used to update the...
4
2276
by: Andrew Meador - ASCPA, MCSE, MCP+I, Network+, A+ | last post by:
I have created a report. This report needs to display records between two dates entered by the user. I put two text boxes on the report so I can enter the start and end date - I set them to use an input mask of 'short date' format. The problem is that when I enter anything in these text boxes, as soon as the field looses focus, the text is...
5
8898
by: Lindie | last post by:
We use a spreadsheet to record attendance for pupils with special needs. They live-in so we need 365/365 attendance details. The spreadsheet is getting too cumbersome, a Db is needed. I would like to turn the spreadsheet into a database. In the spreadsheet we have every day listed and then simply enter an attendance code. for the Db I have...
0
7518
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7444
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7467
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7805
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6039
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5085
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3497
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3478
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
755
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.