Hello All,
I am back again with what I hope is a simple question to which I can’t find the answer.
We have a database with multiple tables. [blue]Table-1[/Blue] contains the employee name and employee ID number. [Blue]Table-2[/Blue] contains a list of equipment assigned to the employee. Both tables have the field “EMPID”, which are linked (a relationship exists) where “Enforce Referential Integrity”, “Cascade Update Related Fields” and “Cascade Delete Related Records” are all checked. The relationship is one-to-one since there is only one inventory record for each employee.
When we add a new employee to the system, a form opens asking for the name, etc., as well as the EMPID. Clicking on a ‘save’ button then creates a new record for the employee in Table-1. How do I get a record into Table-2? The only thing it will have is the EMPID, but the record needs to be created for later forms and reports to work.
Thanks
I am back again with what I hope is a simple question to which I can’t find the answer.
We have a database with multiple tables. [blue]Table-1[/Blue] contains the employee name and employee ID number. [Blue]Table-2[/Blue] contains a list of equipment assigned to the employee. Both tables have the field “EMPID”, which are linked (a relationship exists) where “Enforce Referential Integrity”, “Cascade Update Related Fields” and “Cascade Delete Related Records” are all checked. The relationship is one-to-one since there is only one inventory record for each employee.
When we add a new employee to the system, a form opens asking for the name, etc., as well as the EMPID. Clicking on a ‘save’ button then creates a new record for the employee in Table-1. How do I get a record into Table-2? The only thing it will have is the EMPID, but the record needs to be created for later forms and reports to work.
Thanks