The form(employee) that am working on is based on a table(tblemployee) that
has employee information, it also has a subform.. The form also has a
combobox that an employee can select there names and enter productivity. The
following filter is on the main form [EmplID] =
[Forms]![tblemployee]![cmbSrchEmpl] and I put the same code on the open form
as an event procedure. This way when the form is opened, its blank and you
cannot see anything apart from the unbound comboboxso when one selects
his/her name, then you are able to view the subform!
so anyway how will I use the =current user() when my form is based on a
table and not a query?
Thanks for you help!
Rick B said:
Modify the query upon which your forms and reports are based on. Under the
"userid" field put something like...
=CurrentUser()
Assuming you are using User-Level Security, and assuming the record stores
the same userid they used to log into the database, this will allow only
their records to display.
--
Rick B
I have created a database that employees enter there daily productivity,
currently they are able to view other people's productivity and I dont
want
that ...can someone please help me....