Results 1 to 4 of 4
  1. #1
    serenechaos is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2018
    Posts
    13

    Best structure for a finite-day course's attendance

    Hi,
    I'm setting up an attendance register (or more accurately an absence register) for trainees who take training courses over a set number of days (30 / 50 /100). Each day has the same five sessions. Trainees are divided into training groups, and all training groups run on the same schedule.

    To link the trainees to groups I put a GroupID field in the Trainees table, then manually typed in the group for each trainee - manually entering was not too bad here as we only have about 150 trainees. I've also fiddled a little bit with setting up relationships which resulted in being able to open each group and see its trainees

    Now I've set up aTrainingDays table, with a CorrespDate field and a TrainingDayNumber field - also not too bad, but I generated and pasted from excel. After this table is where things go off the rails for me.... to have unique records where I can record absence for every trainee every lesson of every day in the training course, (old, limited excel based thinking!) with my approach I'd have a table like this:



    ID PeriodName SeqDayID AbsentYN
    1 1 1
    2 2 1
    3 3 1
    4 4 1
    5 5 1
    6 6 1
    9 1 2
    10 2 2
    11 3 2
    12 4 2
    13 5 2
    14 6 2

    and that's just for one trainee over two days! 150 trainees * 100 days * 6 sessions = madness! What's a better way to build or generate the structure/values needed for this kind of database? I'm very new to Access so there are probably many features that I'm not yet aware of. I've tried to jump ahead and create the user form (trainers taking attendance), but realised that the underlying structure needs to be solid first!

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,979
    The correct approach for normalised data is one item of data per record.
    That is one mark for one student for one session

    So for a school of 1500 students with 5 lessons per day and 190 school days in an academic year, there are 1500*5*190=1425000 records.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    serenechaos is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2018
    Posts
    13
    Right. So what options/mechanisms are available to set up or generate the necessary structure - other than manual entry /importing via excel? some sort of append query?

  4. #4
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,979
    The database should already contain the IDs of the trainees, course, dates etc
    If not, you need to import them into Access tables
    Then create queries for populating the attendance form - either SELECT or CROSSTAB depending on how you set this up

    As previously mentioned, this is certainly possible to do BUT it isn't really a beginners project.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Attendance Form, Please Help!
    By Tandem in forum Forms
    Replies: 6
    Last Post: 05-02-2016, 12:33 PM
  2. Replies: 6
    Last Post: 01-16-2014, 12:41 PM
  3. Automate Attendance
    By Palomino33 in forum Access
    Replies: 3
    Last Post: 01-14-2012, 03:57 PM
  4. Attendance Report
    By tabbycat1234 in forum Reports
    Replies: 1
    Last Post: 11-12-2011, 07:08 AM
  5. Attendance Database
    By grankioto in forum Access
    Replies: 2
    Last Post: 02-05-2011, 02:48 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums