Hello,
On a form:
I have a text box "txtA".
I have a combo box that displays "A" or "B" or "C" to select.
When "A" is selected in the combo box, then I have to display double the value of "txtA" in any result text box (txt_result).
I wanna do this using code (with an "if then" statement) , but don't know how to or where to do this.
What I'm trying to do would look something like this:
if combobox="A" then
txt_result = txtA * 2 // is this right???
End If
Thank you very much in advance
On a form:
I have a text box "txtA".
I have a combo box that displays "A" or "B" or "C" to select.
When "A" is selected in the combo box, then I have to display double the value of "txtA" in any result text box (txt_result).
I wanna do this using code (with an "if then" statement) , but don't know how to or where to do this.
What I'm trying to do would look something like this:
if combobox="A" then
txt_result = txtA * 2 // is this right???
End If
Thank you very much in advance