i have a form that has a button that add a new record. int the button im checking if the amount i order is ssmaller than my amount.
if i press the button it works fine but if i have data on the text boxes and i close the form with the close button the data on those text box is save in a new record and it is not checked.
why it add's a record when im exiting the form?
how to solve it?