I've created an audit form where I simply want the Auditor to select or click on a Yes/No box for a series of 16 quesstions. I then want to count the TRUE or YES conditions for all 16 questions within a text box on the form. This gives feedback as to the score for that audit.
Ex: Auditor will complete the audit questions as follows:
Question A-1: Yes (or True) - Yes/No box was selected
Question A-2: Yes (or True) - Yes/No box was selected
Question A-3: NO (or False) - Yes/No box was NOT selected
The score for the above would be 2 divided by 3 (True occurrances/Total questions or 16) or 66. I want this score (66) to show on the form once audit is complete.
There are a total of 16 questions on the form. I would like code to count the TRUE for all 16 questions and place in a box on the form. I don't know how to get started. I think I want something like: If A-1.enabled = True, then A-1 = 1, elseif A-1.enabled = False, then False = 0....etc and then Sum? How would I begin to set this up? Am I doing this the right way? If I do a query, how do I count True occurrances? I can count records, but not occurrances within each record.
I hope you can help a neophyte! Thanks in advance.
Ex: Auditor will complete the audit questions as follows:
Question A-1: Yes (or True) - Yes/No box was selected
Question A-2: Yes (or True) - Yes/No box was selected
Question A-3: NO (or False) - Yes/No box was NOT selected
The score for the above would be 2 divided by 3 (True occurrances/Total questions or 16) or 66. I want this score (66) to show on the form once audit is complete.
There are a total of 16 questions on the form. I would like code to count the TRUE for all 16 questions and place in a box on the form. I don't know how to get started. I think I want something like: If A-1.enabled = True, then A-1 = 1, elseif A-1.enabled = False, then False = 0....etc and then Sum? How would I begin to set this up? Am I doing this the right way? If I do a query, how do I count True occurrances? I can count records, but not occurrances within each record.
I hope you can help a neophyte! Thanks in advance.