Scenario first. Our employee's are scored on responses that they give to inbound customer emails. There are 10 questions and the score is calculated on the average of all 10 questions.
Attached is my proposed table design.
With help from another member here (Thanks) I know now the basics and understanding of creating an unbound form and writing the answer data back to the response table using a loop.
The uncertainty I have is how correctly to link the response data to the handler who the score belongs to.
One way I have thought about is to have a form bound to the tbl_QASVData table so that I get given an auto number on the form with the Assessor and Handler ID's written to this table.
Below that the list of unbound questions.
Once the assessment has been done a VBA sql runs putting the SVDataID, QuestionID and Score into the tbl_Responses table.
This then giving me a way of linking the Assessor, Handler, date, time and questions together in order to average the score for that particular assessment.
What I can see happening is the assessor aborting the assessment half way through and leaving a orphan entry in the tbl_QASVData table. I know I can add some code to check if the bound parts have been updated and stop prompt the assessor to either delete the record or complete, but I thought I'd check to see if there is a cleaner solution.
After a bit of research I considered using DMAX to get the next autonumber from the tbl_QASVData table, but another poster suggested this could run into issues if the Autonumber got out of sequence due to deleted etc.
Over to you!
Attached is my proposed table design.
With help from another member here (Thanks) I know now the basics and understanding of creating an unbound form and writing the answer data back to the response table using a loop.
The uncertainty I have is how correctly to link the response data to the handler who the score belongs to.
One way I have thought about is to have a form bound to the tbl_QASVData table so that I get given an auto number on the form with the Assessor and Handler ID's written to this table.
Below that the list of unbound questions.
Once the assessment has been done a VBA sql runs putting the SVDataID, QuestionID and Score into the tbl_Responses table.
This then giving me a way of linking the Assessor, Handler, date, time and questions together in order to average the score for that particular assessment.
What I can see happening is the assessor aborting the assessment half way through and leaving a orphan entry in the tbl_QASVData table. I know I can add some code to check if the bound parts have been updated and stop prompt the assessor to either delete the record or complete, but I thought I'd check to see if there is a cleaner solution.
After a bit of research I considered using DMAX to get the next autonumber from the tbl_QASVData table, but another poster suggested this could run into issues if the Autonumber got out of sequence due to deleted etc.
Over to you!