obulldog27
Programmer
I have a form with two buttons. One to add a record and one to display the records. When the user clicks on add record the records displayed go blank to allow the user to do data entry. What I want is for the user to click on the add record again when he is done with the data entry to actually add the record to the database.
My idea is to add a constant called temp which will keep track of the add record button clicks. one click to make the textboxes go blank (if temp = 1) and another to actually add the records to the database (if temp =0).
I am not familar on how to declare the constant.
My idea is to add a constant called temp which will keep track of the add record button clicks. one click to make the textboxes go blank (if temp = 1) and another to actually add the records to the database (if temp =0).
I am not familar on how to declare the constant.