I’ve been working on a database to track safety training for employees. I’ve been having some problems with one part of the database that needs to list a large amount of data to a user that I’m hoping someone can tell me a better way of displaying it to my user.
There are 3 tables I’ll be working with here from the database. A courses table with about 100 courses listed in it. An employee table with about 200-300 employees and a course_required table that tracks whether the course is required for each user.
So, let’s say 5 new courses are added to the database. One of the safety administrators is going to have to update each employee whether they are required to take the course or not, how do I display this in a user friendly fashion to the safety administrator?
The only thing I can come up with is a long listing of each employee with a radio button beside each employees name that the safety administrator will update. It just seems like a lot for the safety administrator to do and was wondering if anyone had some clever ideas on how to display the information?
How do the Safety people know who needs the new courses? Could they feed a csv file to a form, and have whatever language parse the file and update the db?
What I was going to do was have the administrator click on a link for the course which goes to a form where it would list all employees with a checkbox beside their name and a save button at the bottom of the form that updated the database. That way they could run reports on who was required to take the course.
you have to list the employees one by one, right? i mean, you cannot expect the administrator to enter, from memory, the employee ids of those employees who need the course
therefore your list of employees with a radio button beside each one is the minimum that you have to do
except i would use checkboxes instead of radio buttons, because that’ll be a lot easier to process on the back end