Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

Steps: 1. To begin, open Microsoft Access. Name Your Database. Creating Tables under create menu.

Open the table and by right clicking on the tab, open it in Design view and add primary key. 5. Select the Relationships item from the Tools menu. 6. We want to work with all tables in our database (eventually), so highlight all four tables and click the Add button. 7. Click the Close button and youll be presented with a database diagram showing the databases tables. Example: Click on the St_Reg_No field in the Student_Details table and, while holding the mouse button down, drag the pointer to the St_Reg_No field in the Student_CGPA_Details table and release the mouse button. 8. Verify that the two fields listed in the Edit Relationships pop-up window are correct. They should point to the St_Reg_No field in the Student_Details and Student_CGPA_Details tables. 9. Check the Enforce Referential Integrity and Cascade Update Related Fields boxes in the Edit Relationships window and click the Create button. 10. There will be link between tables appear in the diagram, with the numeral 1 next to the Student_Details table and the infinity symbol next to the Student_CGPA_Details table, symbolizing a one-to-many relationship (the default for Access). 11. Add data to the database using Access forms:
2. 3. 4.

12.Open the database. 13.Choose the More Forms tab under the Create menu. 14.Double-click Form wizard. 15.Use the >> button to select all of the fields in the table. 16.Click the Next button to continue. 17.Choose the form layout that youd like. Justified is a good, attractive starting point, but each layout has its pros and cons. Youll need to pick the most appropriate layout for your environment. Remember, this is just a starting point and you may modify the actual form appearance later on in the process. 18.Click the Next button to continue. 19.Choose a style and click the Next button to continue.

20.Give the form a title and then choose the appropriate radio button to either open the form in data entry mode or layout mode. Click the Finish button to generate your form. 21. From the Create menu, click the Query Wizard button and double-click on Simple Query Wizard. Now choose relevant tables from the Tables menu and click the Add button followed by the Close button. 22.Use Datasheet tab and under that Insert , Delete, Renane for Alteration of Table attributes.

You might also like