Alex
Suppoe you have to text fields on your form named as "Amount" and "Result" respectively. You can write the following script (FormCalc) in the "exit' event of "Amount" text field (the first line of the code is for your reference only, do not include it while psting the code):
form1.#subform[0].Amount::exit - (FormCalc, client)
if (form1.#subform[0].Amount.rawValue < 10) then
form1.#subform[0].Result.rawValue = 50
elseif (form1.#subform[0].Amount.rawValue > 11 and form1.#subform[0].Amount.rawValue < 30) then
form1.#subform[0].Result.rawValue = 75
endif
In case of any queries, please feel free to contact me.
Thanks.
Syed Hussain Itiba Naqvi