I am creating an incident database. There are three principal tables. General information about the incident is in the main table. The incident ID, created there, is an auto-number. The two detail tables record information about the one or more patients and employees involved in the incident, which can then be linked to all other data about patients and employees for incident analysis. Both detail tables have many-to-one relationships with the main incident table.
After entering the general incident information, I need to enter information in the form about patient and employee involvement in the incident. How do I get the tables with patient and employee information to retain the incident ID created at the time the general information is entered in the main table, without reentering it. I have done this twice before, years ago, but I cannot remember how I did it. In the intervening years I have not had to work with data entry forms much.
I have read several closely related threads, but I can't quite figure out how they apply. Do I create a calculated field which simply copies the ID from one table to another? Do I put that calculated field in a query, in the data entry form, where? Please point me to the posts that address this sort of issue and help interpret them to this case. I am sure I am overlooking something very simply here but I am stuck. Perhaps there is a sample db which addresses this.
Thanks,
David
After entering the general incident information, I need to enter information in the form about patient and employee involvement in the incident. How do I get the tables with patient and employee information to retain the incident ID created at the time the general information is entered in the main table, without reentering it. I have done this twice before, years ago, but I cannot remember how I did it. In the intervening years I have not had to work with data entry forms much.
I have read several closely related threads, but I can't quite figure out how they apply. Do I create a calculated field which simply copies the ID from one table to another? Do I put that calculated field in a query, in the data entry form, where? Please point me to the posts that address this sort of issue and help interpret them to this case. I am sure I am overlooking something very simply here but I am stuck. Perhaps there is a sample db which addresses this.
Thanks,
David