473,396 Members | 2,016 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,396 software developers and data experts.

Has Anyone Attempted a Report for a Class Attendance Log?

zmbd
5,501 Expert Mod 4TB
Attached is a screen shot of an Excel spreadsheet I use for classroom attendance that I print out each year. I'd love to be able to do this using just Access. Has anyone attempted something like this in the past? I've created a few complex sample submission forms; however, this one is a bit more than I've attempted.

z

Attached Images
File Type: jpg 966873_ClassAttendanceLogSheet.jpg (29.9 KB, 324 views)
Jul 20 '16 #1
4 1142
PhilOfWalton
1,430 Expert 1GB
Is this a report with variable number of columns based on a Crosstab Query?

Phil
Jul 20 '16 #2
jforbes
1,107 Expert 1GB
The only thing that stands out as complex that I see is the Header. Getting the Lines to line up and look pretty can be a pain in the butt, but I don't think that would stop you. Especially not you. =)

You could write a routine to loop through and populate the Headers from a separate Table and then the Student Names would populate in the traditional way.

Maybe...
  • Create a Table, name it ReportHeaders or something
  • It would have the columns ReportName, Index, Header.
  • You could set a TempVariable for the ReportName before calling the Report.
  • In the Header of the Report, use the ReportName TempVar to query and get a list of Headers and order them by the Index. Then iterate through them and apply them to the Labels for your Headers.
Jul 20 '16 #3
zmbd
5,501 Expert Mod 4TB
Ok, mangaged to ckludge this togeither

1) Acc2013 has the layout grid. Wow is there very little information about this feature. Discoved that one has to insert a control on the report first and then you can get at the grid layout controls>
Ribbon>Report Design Tools>Arrange>Table (etc...)
Here one can then start inserting, spilitig, merging, etc...
Cell styles are under the R>Table>Gridlines group control
You can also select an empty cell and use the properties FORMAT tab.
For a cell with a control, the properties FORMAT tab has the "Gridline Style..." properties that can be set.
>> EMPTY CELLS do not show up in the properties control selection combobox until they are selected by the mouse on the report/form

2) Text rotation is only in the Book-Title orientation. For English words this means that the bottom of the letters are to your left as one would see on a textbook.

3) I used two sub-reports to make this more dynamic. The first report is for the month section, the second is for the class dates. This was the only way I could figure out how to get the months and days to follow. The grid layout is sized to sync between to the two

4) The main report is tied to the student table
The columns under the dates are layout gridlines sized to match the date sub-report.

Very fiddly to do this way.
There may be a point in time where I tie the attendance to the individual cells in the detail section so that this looks like a cross-tab style query; however, I have a cross-tab query and report already :)



A little bonus, I have an extra column that I didn't plan on; however, I'm sure that it can be used for some little comment/notation.

There's only one issue at this point and it's more aesthetic than needed, the old roster used an entire page, 30 Rows.... a new thread covering that little monkey:
Appending Consistent Number of Blank Rows to Report
Attached Images
File Type: jpg Untitled.jpg (56.0 KB, 326 views)
Aug 31 '16 #4
ADezii
8,834 Expert 8TB
I agree with jforbes in that the most complicated aspect of this is generating the Headers for a variable number of Months and their associated Dates. I threw together a Demo that will do this for Months based on a partial Report Template. Days should easily be able to be incorporated into the Logic by adding them to the Months Table. Adding the Dates to the Report can be done at the same time that the Month Controls are created. Hope this helps in some small way.

P.S. - To center the Text Vertically for each Month as the Month Controls are created, set the RightMargin Property = 620 (approx.) for each Control within the Loop:
Expand|Select|Wrap|Line Numbers
  1. With ctl
  2.   'set Label Properties here
  3. End With
Attached Files
File Type: zip Create Report.zip (28.9 KB, 60 views)
Sep 1 '16 #5

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

Similar topics

7
by: xzzy | last post by:
I need to automate a report in a different database (and thank yous to Terry Kreft for pointing me in the right direction). below is the code with the one line that does not work, marked: 'Does...
5
by: bcanavan | last post by:
When I export xml(and xls) from Access 2003 the result is a complete report in a single page. I would like to get the entire report in a single page (one trip to the server) for printing and...
0
by: Nicolas B | last post by:
.... because I try to used it but when I create an instance of the object I have an exception "COM object with CLSID {2B30821C-305A-44C3-9157-7E72614A7E03} is either not valid or not...
13
by: Brian | last post by:
I have many similar classes in a project, one for each type of report my app can create. I want to instantiate them based on a value passed in by a scheduler module. Right now I have Sub...
1
by: Frederik Vanderhaegen | last post by:
Hi, I'm a newbie in c# and have a simple question. How does you have to implement an association class (uml) in c#? Thanks in advance Frederik
6
by: rcamarda | last post by:
Hello, I need to find students that have 4 consecutive absences. When a student is absent 4 times in a row, they can be dropped from the class. My class attendance file contains each attendance...
1
by: Shun | last post by:
Hello, My requirement is to develop an Employee Attendance Register. For ex: I am in some X country and my office is in Y country. now my requirement is i want to check the employees present...
0
by: Robert Johnson | last post by:
Hi all, I'm looking for code in C# that will create HIPPA compilant X12 format output. Also read incoming data and convert back. Regards, Robert
18
by: yashumrhsn | last post by:
can anyone help me to get userid and password from access database..then it compares the userid and password and opens a new from that shows the details from the database for that user..
7
by: didacticone | last post by:
i have a form that filters results based on an entry in an unbound text box, i then have a button that creates a report from those filtered results, using this code Private Sub Command8_Click() ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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
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,...

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.