Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Experiment no :-1

Name:- PRANAV CHOUGULE subject :- DBMS


PRN :- Date :-

Write procedure for creating database in Ms-Access.

Input :-

1. Open Access. If Access is already open, select File > New.


2. Select Blank database, or select a template.
3. Enter a name for the database, select a location, and then select Create. If
needed, select Enable content in
the yellow message bar when the database opens.

Output :-
Experiment no :-2
Name:- PRANAV CHOUGULE subject :- DBMS
PRN :- Date :-

Q 2. Establish relationship between tables and write steps for it.

Input :-

1. On the Database Tools tab, in the Relationships group, click Relationships.


2. On the Design tab, in the Relationships group, click Add Tables (or Show Table
in Access 2013).
3. Select one or more tables or queries and then click Add. After you have finished
adding tables and
queries to the Relationships document tab, click Close.
4. Drag a field (typically the primary key) from one table to the common field (the
foreign key) in the
other table. To drag multiple fields, press the CTRL key, click each field, and then
drag them.
The Edit Relationships dialog box appears.
5. Verify that the field names shown are the common fields for the relationship. If
a field name is
incorrect, click on the field name and select the appropriate field from the list.
To enforce referential integrity for this relationship, select the Enforce Referential
Integrity check box.
For more information about referential integrity, see the section Enforce
Referential Integrity.
6. Click Create.
Output :-
Experiment no :-3
Name:- PRANAV CHOUGULE subject :- DBMS
PRN :- Date :-

Q 3. Generate form in Ms-Access and write steps in detail.


Input :-

1. To create a form with no controls or preformatted elements: On the Create tab,


click Blank Form.
Access opens a blank form in Layout view, and displays the Field List pane.
2. In the Field List pane, click the plus sign (+) next to the table or tables that
contain the fields that you
want to see on the form.
3. To add a field to the form, double-click it or drag it onto the form. To add
several fields at once, hold
down CTRL and click several fields, and then drag them onto the form at the same
time.
4. Use the tools in the Controls group on the Form Layout Tools tab to add a logo,
title, page numbers,
or the date and time to the form.
5. If you want to add a wider variety of controls to the form, click Design and use
the tools in
the Controls group.
Output :-
Experiment no :-4
Name:- PRANAV CHOUGULE subject :- DBMS
PRN :- Date :-

Q 4. Create reports using different queries based on multiple tables and write
steps in detail for it.

Input :-

1. Ensure that the tables have a defined relationship in the Relationships window.
2. On the Create tab, in the Queries group, click Query Wizard.
3. In the New Query dialog box, click Simple Query Wizard, and then click OK.
4. In the Tables/Queries combo box, click the table that contains the basic
information you want included
Q 4. Create reports using different queries based on multiple tables and write steps
in detail for it.
Input :-
in your query.
Output :-

You might also like