G
Guest
I am wondering what the best way of applying a filter on a form open would
be. I have an employee database where the main employee info is kept under
tblEmployees. All the employees basic info is here as well as the
active/inactive status, whether or not they are still employed. Other tables
are in the database also, such as trainings, wage, etc., and they all are
accessed by forms and a subform since the primary key is the employee ID.
The majority of all my forms are a form/subform, with the form being the
employee ID, and name, and the subform being the information on the related
tables such as trainings.
I have filtered all my drop down boxes to exclude anyone marked as
separated, but noticed when opening a form to enter a training that an
ex-employee with the last name Adkins, is the first name in are employees but
is no longer here. So whenever we open a form to enter stuff, it always
opens to her record. I set a filter on and if you apply it, it will go to
the first active employee, but once the form is closed, it disregards the
filter and you have to reapply it. Anyway to automate this since it is in a
form/subform setting?
be. I have an employee database where the main employee info is kept under
tblEmployees. All the employees basic info is here as well as the
active/inactive status, whether or not they are still employed. Other tables
are in the database also, such as trainings, wage, etc., and they all are
accessed by forms and a subform since the primary key is the employee ID.
The majority of all my forms are a form/subform, with the form being the
employee ID, and name, and the subform being the information on the related
tables such as trainings.
I have filtered all my drop down boxes to exclude anyone marked as
separated, but noticed when opening a form to enter a training that an
ex-employee with the last name Adkins, is the first name in are employees but
is no longer here. So whenever we open a form to enter stuff, it always
opens to her record. I set a filter on and if you apply it, it will go to
the first active employee, but once the form is closed, it disregards the
filter and you have to reapply it. Anyway to automate this since it is in a
form/subform setting?