Hello everyone. Thanking you in advance for taking the time to read (and with any luck) point me in a reasonable right direction.
This is my first post in the forum so here goes..
I have inherited a Access database for training of personnel. The bulk of the data is in a single table.
[emp ID], [Module], [dateCompleted], [TrainingSessionNo], and a few other irrelevant fields. The table spans over a dozen+ years. The personnel may have taken the same course a couple of times in 1 year or missed the training for a couple of years.
I think that will give you the general idea. What I have been asked to do is produce a report with the last date taken for any and all courses for each of the personnel within the last 2 years.
The data within the last two years is easy. I will query only the data (today's date - 2 years).
My first thought was to create a bunch of queries for each of the courses. ie. 01.01, 03.04 etc.. there are not really a great deal of them about and pull them into 1 query.
I am assuming there is a much simpler way to do this without creating a bunch of separate queries and linking them based employee ID? A cross tab query sparks my interest but I have not used them before.
Again, any and all suggestions will be greatly appreciated!
This is my first post in the forum so here goes..
I have inherited a Access database for training of personnel. The bulk of the data is in a single table.
[emp ID], [Module], [dateCompleted], [TrainingSessionNo], and a few other irrelevant fields. The table spans over a dozen+ years. The personnel may have taken the same course a couple of times in 1 year or missed the training for a couple of years.
216 | 01.01 | 10-Aug-2020 |
216 | 08.01 | 15-Sep-2021 |
201 | 05.01 | 24-Nov-2024 |
212 | 01.01 | 07-Jan-2023 |
216 | 05.01 | 09-May-2019 |
178 | 03.04 | 28-Nov-2023 |
178 | 04.02 | 28-Nov-2023 |
178 | 06.02 | 04-Feb-2022 |
178 | 03.04 | 13-Dec-2023 |
216 | 01.01 | 23-Apr-2024 |
I think that will give you the general idea. What I have been asked to do is produce a report with the last date taken for any and all courses for each of the personnel within the last 2 years.
01.01 | 03.04 | 04.02 | 05.01 | 06.02 | 08.01 | |
201 | 24-Nov-2023 | |||||
212 | 7-Jan-2024 | |||||
178 | 13-Dec-2023 | 28-Nov-2023 | ||||
216 | 23-Apr-2024 |
My first thought was to create a bunch of queries for each of the courses. ie. 01.01, 03.04 etc.. there are not really a great deal of them about and pull them into 1 query.
I am assuming there is a much simpler way to do this without creating a bunch of separate queries and linking them based employee ID? A cross tab query sparks my interest but I have not used them before.
Again, any and all suggestions will be greatly appreciated!