Link Subform to form

  • Thread starter Gary J. Monreal
  • Start date
G

Gary J. Monreal

Hello,
I currently have a form listing officers by name and rank. I created a
subform so that I can list all the training that the officer recieves (i.e.
radar, SWAT, Accident Invest.) but when I change to input another officer's
name the information for the first officer remains in the subform. How do I
get the subform to link directly to each individual officer?
Thank your for your time and help!
Gary
 
J

John Vinson

Hello,
I currently have a form listing officers by name and rank. I created a
subform so that I can list all the training that the officer recieves (i.e.
radar, SWAT, Accident Invest.) but when I change to input another officer's
name the information for the first officer remains in the subform. How do I
get the subform to link directly to each individual officer?
Thank your for your time and help!
Gary

What is the structure of your underlying tables, and how are they
related? Typically one would have a table of Officers with a unique
OfficerID; a table of training courses available; and a third table
with one record for each training session attended by each officer. If
this is your structure, then you should be able to get the desired
result by basing the Subform on this third table, using the OfficerID
as the Master/Child Link Field property of the Subform.

If, however, you're just overtyping the officer's name on the mainform
then you are actually *changing the contents of that officer's
record*, not moving to a different officer. What steps do you take to
"change to input another officer's name"?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top