A
Annette
I am creating a database with a main table that will have records that relate
to many records in another table (one-to-many relationship). The main table
will have an auto-number field as the primary key. I want one record from
that table to relate to many records in the seconadary table. I want the
auto-number field in the secondary table to begin at 1 for the first record
in the main table and I want the second record in the main table to also
begin at 1.
For example,
Table 1 - Main Table
ID=12
ID=13
Table 2 - Secondary Table
Main Table ID=12 Auto-number field=1
Main Table ID=12 Auto-number field=2
Main Table ID=13 Auto-number field=1
Main Table ID=13 Auto-number field=2
Main Table ID=13 Auto-number field=3
Is this possible? If so, how? Thanks in advance.
to many records in another table (one-to-many relationship). The main table
will have an auto-number field as the primary key. I want one record from
that table to relate to many records in the seconadary table. I want the
auto-number field in the secondary table to begin at 1 for the first record
in the main table and I want the second record in the main table to also
begin at 1.
For example,
Table 1 - Main Table
ID=12
ID=13
Table 2 - Secondary Table
Main Table ID=12 Auto-number field=1
Main Table ID=12 Auto-number field=2
Main Table ID=13 Auto-number field=1
Main Table ID=13 Auto-number field=2
Main Table ID=13 Auto-number field=3
Is this possible? If so, how? Thanks in advance.