90 likes | 103 Views
Learn how to efficiently manage multiple tables in Access forms, create relationships, and utilize queries and subforms. This tutorial provides comprehensive guidance beyond the basic class material.
E N D
MULTIPLE TABLES IN FORMS Access 7
IDnumber makes 1:M ALUMN CONTRIBUTION Add a New Table & a New Relationship CntrbDate CntrbAmount
Requirements for Multiple Table Forms • Establish a linking field for the tables • Primary Key in the parent • Foreign Key in the child • Create a one-to-many relationship between the tables • Establish Referential Integrity
Queries and Subforms • Linking fields required in queries. • Primary Key from parent • Foreign Key from child • Linking fields not required on • form • subform
Form/Subform References • Balter – See Syllabus. • Includes steps • Includes more info than presented in class
Multiple Table Forms Uses • Single form to display related data from multiple tables • Single form to enter or edit data in multiple tables • not all fields need be present unless the form is to be used for data entry • fields can be locked
Individual Assignment See Lab Helps in WebCT.
Individual Assignment (if time) • In a new database, create two tables that have a 1:M relationship. • Create the 1:M relationship between the two tables. • Put test data in the parent/child tables. • Create a form/subform. • Print a selected record of the new form that shows multiple children with a parent.