I
itzzme
I have 3 textboxes on a form. One is based on the values present on the other
two.
For e.g. lets say we have 3 textboxes namely txt1, txt2, txt3.
The conditions to be satisfied are as follows:
if (txt1 = A & txt2 = A) then txt3 = X;
if (txt1 = A & txt2 = B) then txt3 = Y;
if (txt1 = A & txt2 = C) then txt3 = Z;
if (txt1 = B & txt2 = A) then txt3 = P;
and so on..There are 10 conditions in all.
Please can someone suggest an effective way to populate values in txt3
textbox.
Note that the values of txt1 and txt2 are dynamic and are dependent on other
values in the form. So every time the value of any of theese txt1 or txt2
changes, txt3 needs to be updated.
Thanks
two.
For e.g. lets say we have 3 textboxes namely txt1, txt2, txt3.
The conditions to be satisfied are as follows:
if (txt1 = A & txt2 = A) then txt3 = X;
if (txt1 = A & txt2 = B) then txt3 = Y;
if (txt1 = A & txt2 = C) then txt3 = Z;
if (txt1 = B & txt2 = A) then txt3 = P;
and so on..There are 10 conditions in all.
Please can someone suggest an effective way to populate values in txt3
textbox.
Note that the values of txt1 and txt2 are dynamic and are dependent on other
values in the form. So every time the value of any of theese txt1 or txt2
changes, txt3 needs to be updated.
Thanks