Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / March 2007

Tip: Looking for answers? Try searching our database.

Linking tables using form and subform

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anthporter - 07 Mar 2007 00:42 GMT
I have a database for use in a martial arts school for registration, and have
created a table (Members) for parent information and (Students) for student
information.  Member ID is the primary key in Members and Student ID in
Students.  

The Members table is linked to Students table by Member ID on a one to many
basis, and I have created a form to enter Member information with a button to
open subform for student data, but my problem is that when I enter student
data the Member ID is not linking, so I get a Member record and a Student
record, but the student record has a blank Member ID field.

How can I link these so that the auto number from the Member ID field in
Members is automatically added to the Member ID field in Students?
Damian S - 07 Mar 2007 01:09 GMT
Hi Anthporter,

You want to have your subform actually embedded in your main form, then set
the Link Child Field/Link Master Field properties, and Access will handle the
linking for you!!

Damian.

> I have a database for use in a martial arts school for registration, and have
> created a table (Members) for parent information and (Students) for student
[quoted text clipped - 9 lines]
> How can I link these so that the auto number from the Member ID field in
> Members is automatically added to the Member ID field in Students?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.