G
Guest
I want to create a scoring system for every time a user gets a correct answer
and place the value in a form control.
I have an Answer combo Box that if the user selects the correct answer,
updates an unbound ‘Answer’ text box with the value “Yes†or “Noâ€.
What I would like to do is have the value from the ‘Answer†text box update
an unbound ‘Scorebox’ control on the form each time the user gets a Yes
answer. (It doesn’t matter if they get a No). I would like to increment the
value by 1 each time.
I don’t need to save the results, though that could be very useful for
latter development.
I have tried to update the ‘Scorebox’ control with a ‘SetValue’ macro, but
that doesn’t do anything. I’m baffled as to why.
Hear is the format of my Macro
Condition:
[Forms]![TestForm]![frm_PointsTest_A].[Form]![answer_box]="Yes"
Action:
SetValue
Item:
[Scorebox]
Expression:
+1
Am I missing something obvious here, or is my database unwell?
What is the best way to go about this?
and place the value in a form control.
I have an Answer combo Box that if the user selects the correct answer,
updates an unbound ‘Answer’ text box with the value “Yes†or “Noâ€.
What I would like to do is have the value from the ‘Answer†text box update
an unbound ‘Scorebox’ control on the form each time the user gets a Yes
answer. (It doesn’t matter if they get a No). I would like to increment the
value by 1 each time.
I don’t need to save the results, though that could be very useful for
latter development.
I have tried to update the ‘Scorebox’ control with a ‘SetValue’ macro, but
that doesn’t do anything. I’m baffled as to why.
Hear is the format of my Macro
Condition:
[Forms]![TestForm]![frm_PointsTest_A].[Form]![answer_box]="Yes"
Action:
SetValue
Item:
[Scorebox]
Expression:
+1
Am I missing something obvious here, or is my database unwell?
What is the best way to go about this?