M
miaplacidus
I have an employees list. The list includes a field for
who the employee reports to. I have a form that shows each
employee with a subform which shows all of his
subordinates. Both the form and the subform are based on
the employees table. (I use a query on the employees table
for the subform.)
The employees subform shows the name of the subordinate
his title and who he reports to. The employees subform has
an extra row in it that begins with an asterisk. In
the "Reports to" column of that row the field is filled in
with the words EmployeesList, which happens to be the name
of the form.
How can I make the "EmployeesList" entry go away and how
can I make the default entry for that field in the subform
to be the same as the "Name" field in the parent form? The
way this works is that the "Name" field in the parent
field is linked to the "Reports to" field in the sub-form.
Each employee in the employee table only reprts to on
supervisor, but each supervisor may have several employees
that report to him: therefore the employee table has a one
to many relationship with itself!
I cold have a separate table for all the supervised
employees, but then I'd have un necessary double entries.
This ought to be easy, but I'm out of practice.
who the employee reports to. I have a form that shows each
employee with a subform which shows all of his
subordinates. Both the form and the subform are based on
the employees table. (I use a query on the employees table
for the subform.)
The employees subform shows the name of the subordinate
his title and who he reports to. The employees subform has
an extra row in it that begins with an asterisk. In
the "Reports to" column of that row the field is filled in
with the words EmployeesList, which happens to be the name
of the form.
How can I make the "EmployeesList" entry go away and how
can I make the default entry for that field in the subform
to be the same as the "Name" field in the parent form? The
way this works is that the "Name" field in the parent
field is linked to the "Reports to" field in the sub-form.
Each employee in the employee table only reprts to on
supervisor, but each supervisor may have several employees
that report to him: therefore the employee table has a one
to many relationship with itself!
I cold have a separate table for all the supervised
employees, but then I'd have un necessary double entries.
This ought to be easy, but I'm out of practice.