HI there
I have a few fields
Diabetes
Stroke
and what I am trying to do is have it so a score is generated based on whether a patient has yes against those items
So far I have set up a textbox and in the afterupdate bit I have
I am struggling though to display the score on the text box? Not even sure if this syntax is correct?
I have a few fields
Diabetes
Stroke
and what I am trying to do is have it so a score is generated based on whether a patient has yes against those items
So far I have set up a textbox and in the afterupdate bit I have
Code:
Dim score As Integer
score = 0
If Me.DM = "Yes" score = score + 1
If Me.Stroke = "Yes" score = score + 1
End If
I am struggling though to display the score on the text box? Not even sure if this syntax is correct?