D
dvlander
Suppose we have a database of projects and project assignments. The person
performing a project assignment can be either an employee or a contractor. I
have already created a separate employee table and a separate contractor
table. If I create a Project Assignment table, the Assignee obviously has to
either an employee or a contractor. Do I need to have separate fields in the
Assignment Table for EmployeeID and ContractorID and link to those two
tables? --- or, is there a way to have a single Assignee field somehow linked
to the two tables? If we have separate fields for each, one of them will be
blank for each record depending on whether an employee or contractor does the
work? Thanks.
performing a project assignment can be either an employee or a contractor. I
have already created a separate employee table and a separate contractor
table. If I create a Project Assignment table, the Assignee obviously has to
either an employee or a contractor. Do I need to have separate fields in the
Assignment Table for EmployeeID and ContractorID and link to those two
tables? --- or, is there a way to have a single Assignee field somehow linked
to the two tables? If we have separate fields for each, one of them will be
blank for each record depending on whether an employee or contractor does the
work? Thanks.