I have a form which is essentially being used as a calculator...
On the form there are 2 text boxes named txtInput and txtOutput.
The basis of the boxes are to display an answer in txtOutput based on a number the user puts in txtInput...
There is no real calculation performed as I need to give a fixed answer based on what the user types in, for example:
If the user types a number between 1 and 5 in txtInput I need txtOutput to show 23
If the user types a number between 5 and 10 in txtInput I need txtOutput to show 34
If the user types a number between 12 and 20 in txtInput I need txtOutput to show 79
so on and so forth...
I need to be able to set the returned values as as I said, they can't be calculated. It will be tedious but I only need to put the values in for 35 different options so it won't be too bad, I just can't figure out how to have the txtInput use what is entered in it to pull up the right answer.
Essentially it is like an IF query, but with multiple options for the IF.
Any help with this would be greatfully appreciated, and thank you in advance.