G
Guest
Hello,
I have a form which (is bound to the employee table) displays an employee
record. When the form opens, all fields, except the EmpID are not visible.
The form opens and the user is prompted for the EmpID. When entered, a
filter is applied and all fields are set to visible. Two command buttons are
on the form. 1st button is Clear form, the 2nd is to terminate the employee,
which will update a few fields on the record. When I click Clear Form, I
would like to clear the current record. By that, I mean I want to clear the
EmpID field, requery so that no record is found with the result being all
fields being empty. Is this a good way to accomplish this, and if so, can
someone advise me on how to do it?
TIA,
Rich
I have a form which (is bound to the employee table) displays an employee
record. When the form opens, all fields, except the EmpID are not visible.
The form opens and the user is prompted for the EmpID. When entered, a
filter is applied and all fields are set to visible. Two command buttons are
on the form. 1st button is Clear form, the 2nd is to terminate the employee,
which will update a few fields on the record. When I click Clear Form, I
would like to clear the current record. By that, I mean I want to clear the
EmpID field, requery so that no record is found with the result being all
fields being empty. Is this a good way to accomplish this, and if so, can
someone advise me on how to do it?
TIA,
Rich