A
Andreas
Hello together,
I have calculated a total score based on the values entered in some
fields (see EXAMPLE1 below). This was for a questionnaire and the
questions 1-26.
Now I have to recalculate the score, but exclude some of the
questions.
How can recalculate for ALL the records in the table in a new field?Is
it possible with vba?
Hope it is clear what I want.
Thanks in advance,
Andreas
EXAMPLE1
'question 2
Select Case Me.com_2
Case 1
Me.txt_score_raw = Me.txt_score_raw + 1
Case 2
Me.txt_score_raw = Me.txt_score_raw + 0
Case 3
Me.txt_score_raw = Me.txt_score_raw + 2
End Select
'question 3
Select Case Me.com_3
Case 1
Me.txt_score_raw = Me.txt_score_raw + 0
Case 2
Me.txt_score_raw = Me.txt_score_raw + 1
End Select
I have calculated a total score based on the values entered in some
fields (see EXAMPLE1 below). This was for a questionnaire and the
questions 1-26.
Now I have to recalculate the score, but exclude some of the
questions.
How can recalculate for ALL the records in the table in a new field?Is
it possible with vba?
Hope it is clear what I want.
Thanks in advance,
Andreas
EXAMPLE1
'question 2
Select Case Me.com_2
Case 1
Me.txt_score_raw = Me.txt_score_raw + 1
Case 2
Me.txt_score_raw = Me.txt_score_raw + 0
Case 3
Me.txt_score_raw = Me.txt_score_raw + 2
End Select
'question 3
Select Case Me.com_3
Case 1
Me.txt_score_raw = Me.txt_score_raw + 0
Case 2
Me.txt_score_raw = Me.txt_score_raw + 1
End Select