Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Same record Different forms

Status
Not open for further replies.

newbieone

Technical User
Jan 3, 2006
50
US
I have created a database to show employee's personal information, what training they have had and any certifications they may have. I have three tables Contacts, training and Accreditation. I have three forms again contacts, Training and Accreditation. I need to show a record on the contacts form and have it be linked to the training and accreditation forms/tables. I have set up the relationships with a the primary key on the contacts table and the foreign keys on training and accreditation.
how do I select a record by a drop down box on the contacts table and have linked to the same record on the training and accreditation tables while allowing updates to the selected record?
 

Like a form with 2 subforms?
On the contacts form (in design view), drop those other forms and follow the wizard for Link Master Fields + Link Child Fields.
 
As it stands, right this minute there are three separate forms. I did this so that eventually I can control access to the different forms for security reasons. Is there any way to keep the forms separate and still have them linked?
 

Ok, then use the IsLoaded property of an AccessObject (=AllForms for your case) and if true reference the control that keeps the employee's ID and use it for the other form (Training or Accreditation) activation event
 
Thank you for the help, I got it to work a slightly different way.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top