The root of the problem is your database design. You should not be carrying
duplicate data in your tables. For example, you have name, rank, and SSN i
the Personnel table in the Annual Training Summary table. You are
experiencing the pain of that mistake.
Also, a form can have only one record source. That is one table or one
query. The query can be based on multiple tables or other queries, but then
you run the risk of creating an unupdatable recordset. That means you can
display it, but you can't change it.
Here is how you should do it. Your Personnel table should have a primary
key field. In this case, I would suggest an Autonumber field. Each time you
add a record to a table, the Autonumber field will generate a number for the
field. This technique is known as an Artificial Primary key. That is
because it is not based on any actual data in the table. Note that
autonumber fields should never be exposed to the user or used for anything
other than relating tables.
Now, you Training Summary table should not have any personnel demographic
data in it at all. It should only have data pertinent to the training.
Instead, you add a field of Numeric Long data type. It should have the value
of the Autonumber primary key field in the Personnel table that relates to
the training record. This type of field in known as a Foreighn Key. That
is, it identifies to which Personnel record the Training record belongs.
Now, to get this to work efficiently, I suggest a form/subform construct.
First, you use the Personnel table as the record source for the main form and
the Training table for the subform. In the subform control on your main
form, you identify the form name you want to use for the Training records in
the Source Object property. Now, the really important part. There are two
other properties of a subform control. They are the Link Master Field(s) and
Link Child Field(s) properties. This is how you make the record or records
displayed in the suborm stay in sync with the record displayed in the main
form. The Link Master Field(s) property should have the name of the Primary
key field in the recordset of the main form, which would be your new
autonumber field in the Personnel table. The Link Child Field(s) property
should have the name of the field in the subform's recordset that relates it
to the personnel record. That would be the field that holds the foreign key
I described earlier.
You don't have to worry about managing the foriegn key field in th training
table if you set it up like this. When you create a new training record, it
will autmaticcally populate the foreign key field with the primary key of the
parent record.
Please post back if you need more help. You guys are taking care of us and
I am happy to give back a little.

Signature
Dave Hargis, Microsoft Access MVP
> In my database I have two tables:
>
[quoted text clipped - 22 lines]
>
> George
George - 18 Apr 2008 23:07 GMT
Dave - Wow what a response, this will keep me busy
on the flight back..Thanks
It's our pleasure to serve - glad it doesn't go unnoticed....
George
> The root of the problem is your database design. You should not be carrying
> duplicate data in your tables. For example, you have name, rank, and SSN i
[quoted text clipped - 69 lines]
> >
> > George
Klatuu - 21 Apr 2008 14:33 GMT
Post back if you have any more questions, George

Signature
Dave Hargis, Microsoft Access MVP
USN '62 - '66
> Dave - Wow what a response, this will keep me busy
> on the flight back..Thanks
[quoted text clipped - 76 lines]
> > >
> > > George
George - 22 Apr 2008 02:04 GMT
Thanks - Will get back to you ...
George - USAF/ANG 1974 to Present
> Post back if you have any more questions, George
>
[quoted text clipped - 78 lines]
> > > >
> > > > George