Explain the procedure of defining relationship in Ms Access? ( ICS PART-II Important Long Questions)

Q. Explain the procedure of defining relationship in Ms Access?
Ans.
Database Relationship
A relationship is a logical connection between different tables. A relationship is established on the basis of interaction among these tables. The relationship is established connecting one or more fields of two tables. The fields used to connect two tables normally have same name, data type and size.
Defining Relationship
The procedure for creating relationship between tables is as follows:
  1. Open the database file.
  2. Click the Relationship icon on the toolbar OR Click Tools=>Relationships.  The Relationship window will appear
  3. Click the name of the table to be added to the relationships.
  4. Click Add button.
  5. Click Close button after adding all required tables.  The added tables and their fields will appear in Relationship window.
  6. Click and drag a primary key field from one table to the corresponding field in the other table.
  7. Release the mouse button.  The Edit Relationships window will appear.
  8. Select Enforce Referential Integrity checkbox.
  9. Click Create button. The relationship will be created.  A line between the related fields will appear in Relationship window.