Thanx for the reply RV. I have a textbox(balance) that calculates data based on two other textbox(quantity allowed & total quantity requested). I needed to be able to restrict the quantity requested (the value in balance textbox should not be less than 1).I tried to validate the value in the balance textbox using validation rule property.I've attached some VB code to the On Change event procedure of the balance textbox but it's not working.I hope this explanation will help in solving this problem
AYO