Dear Sascha,
Thank you for the code. It works perfectly. I learned a lot from it.
When I have a semi-complete app, I will put it into a dropbox so that you and everyone else could take a look at it.
The actual app is a bit more complex than I previously described. Actually, there are two applications:
- Checklist Creator
- Checklist Player
Checklist Creator is designed to create a checklist with values attached to each item. Items might have different values, not just “1” for YES, and “0” for “NO”
The Checklist Creator creates a coma-separated text file with the Parameter Names and their values.
The Checklist Player opens a coma-separated text files, and populates its listbox with parameter names and their values.
Teachers will observe students’ behaviors and use the listbox to keep track of what is done. The Checklist Player will count all points earned by students and generate a score based on the formula:
Score = “Earned Points”/“Maximum Possible Points”*100
Making each parameter item to be able to have a different attached value complicates the entire thing.
Right now I have my CheckList Creator being able to generate a listbox with two columns:
1.Parameter Item
2. Value
It generates a text file that looks like this:
Asks patient about chief complaint,1
Reviews vital signs,1
Washes hands,1
Asks patient about allergies,1
When this text file is opened the CheckList Player, it populates the listbox in the CheckList Player with those values.
An educator uses the listbox with checkboxes to reflect on the student’s performance and the CheckList Player generates a teaching session report:
- what expected actions took place
- what expected actions were not performed
- total score
Right now, if an expected student’s action has not taken place, the score is penalized only by giving a zero point for that item.
If an expected student’s performance has taken place, the score is rewarded by giving an assigned value (it could be any integer).
Right now, it looks like this
Asks about chief complaint. YES (1) NO (0)
Asks about allergies YES (2). NO (0)
Washes hands YES (1). NO (0)
There are some actions that should give students minimal rewards if done (YES) and severe penalty if not done (NO).
For example,
Washes hands YES (1), NO (minus 5).
I envisioned the CheckList Creator to create a text file with four (4) columns
- Parameter
- YES
- NO
- INCOMPLETE
For each row there would be different values for Parameter, for YES, for NO, and for INCOMPLETE
If your suggested design is used, there would be seven (7) columns. The columns with the ANSWER in your example would need to be populated based on the values from the coma-separated text file.
Speaking about my current design (with two columns) I can see only one workaround (please take a look at the example)
Student FORGOT to wash hands YES (minus 5) No (0).
This workaround would produce a correct score but some educators might complain that the checklist contains an item of WHAT NOT TO DO in the mix of the correct and expected interventions. (Using wrong answers in the quizzes is currently considered a bad practice).
I just tried to explain where I am coming from and what challenges I have. Also, I try to keep it as simple as possible.
Thank you for reading this rather lengthy explanation.
Val