A
Apprentice
I'm trying to get my head around this:
I have 3 tables. I have normalized these tables to the best of my
knowledge. These are the field names I am stuggling with:
Table 1 [Charter_ID] (Primary Key - No Duplicates) in main table.
Table 2 [Charter_ID] & [Activity_ID] (Dual Primary Keys- Duplicates OK)
Table 3 [Charter_ID] & [Activity_ID] & [Data_ID] (Three Primary Keys
-Duplicates OK)
Discussion: All three tables are tied together with the [Charter_ID] as the
common link. In building my Forms, each form pulls from their respective
table. When the user adds a new record, I want to run an append query to
copy the [Charter_ID] to the other tables, as the user moves to the next
form, the [Charter_ID] is already there.
The User starts a Charter (Table 1) and a [Charter_ID] is automatically
produced for them.
Next they add an Activity (Table 2), several Activity Records can be added,
but all must be under (1) Charter Record in Table(1) and all Activity Records
are tied to (Table 1) via [Charter_ID].
Next the User adds the Data (Table 3). Several Data Records can be added,
but all must be under (1) Activity Record in Table(2) and (1) Charter Record
in Table 1.
Now all records in Table (3) and table (2) are tied to (Table 1) via
[Charter_ID].
I have one - many relationships for [Charter_ID] in table (1) to (2 and 3).
Is the Append query the way to go? Or should I only use the [Charter_ID]
field once in Table (1)
When using a Tab Form, How can I ensure that the [Charter_ID] is replicated
from table to table and Form to Form.
Thanks
I have 3 tables. I have normalized these tables to the best of my
knowledge. These are the field names I am stuggling with:
Table 1 [Charter_ID] (Primary Key - No Duplicates) in main table.
Table 2 [Charter_ID] & [Activity_ID] (Dual Primary Keys- Duplicates OK)
Table 3 [Charter_ID] & [Activity_ID] & [Data_ID] (Three Primary Keys
-Duplicates OK)
Discussion: All three tables are tied together with the [Charter_ID] as the
common link. In building my Forms, each form pulls from their respective
table. When the user adds a new record, I want to run an append query to
copy the [Charter_ID] to the other tables, as the user moves to the next
form, the [Charter_ID] is already there.
The User starts a Charter (Table 1) and a [Charter_ID] is automatically
produced for them.
Next they add an Activity (Table 2), several Activity Records can be added,
but all must be under (1) Charter Record in Table(1) and all Activity Records
are tied to (Table 1) via [Charter_ID].
Next the User adds the Data (Table 3). Several Data Records can be added,
but all must be under (1) Activity Record in Table(2) and (1) Charter Record
in Table 1.
Now all records in Table (3) and table (2) are tied to (Table 1) via
[Charter_ID].
I have one - many relationships for [Charter_ID] in table (1) to (2 and 3).
Is the Append query the way to go? Or should I only use the [Charter_ID]
field once in Table (1)
When using a Tab Form, How can I ensure that the [Charter_ID] is replicated
from table to table and Form to Form.
Thanks