I have a form on which there a list box (based on a 2-column table), and two text-boxes which are bound to the same table.
I want to be able to enter data into the two text boxes, click a button and append a row to the table. The new record should then be visible in the list box.
However, when I enter data in textbox 1 and tab to textbox 2, the value in textbox1 is inserted to the table. I only want to add the data when there is a value in both text boxes.
What am I doing wrong?
I want to be able to enter data into the two text boxes, click a button and append a row to the table. The new record should then be visible in the list box.
However, when I enter data in textbox 1 and tab to textbox 2, the value in textbox1 is inserted to the table. I only want to add the data when there is a value in both text boxes.
What am I doing wrong?