Download as doc
Download as doc
You are on page 1of 10

DATABASE DESIGN

CONCEPTS

2.Queries

Microsoft allows to create New query for the data stored in different tables.We can edit the
data fields what we have given to the tables as it is matching each other. Creating queries can
be done either selecting the design view from database window or selecting the wizard form
database window. Before that the selection of object in database windows should have been
done as query.
The queries that I have created for above scenario are as follows.

Book payments query

Figure 3.1.8 Book payment query

This query has been created as purpose of adding details of how a particular book
paid the customer.

Book sale query

Figure 3.1.9 Book sale query

The query of book sale made for identify the way of it sold to the customer.

Page40
DATABASE DESIGN
CONCEPTS

Book purchase date query

Figure 3.1.1.0 Book purchase


The query of book purchase date is for store data about the dates that book has been
purchased.

2 Forms

When we enter data into a table using Datasheet view, we can see a list of all the columns and
rows that is, all the records—in the table. Rather than view this information in list form, we
can create a form that displays one record at a time. That way, we can concentrate on
entering, editing, or reviewing a single record. So for the advantage of that we can create
forms to each table by selecting object as the forms. And also we can create it either from
design view or wizard.

The following are the forms that I created for above Expo graph book shop.

Book author form

Figure 3.1.1.1 author book form

Page41
DATABASE DESIGN
CONCEPTS

Customer form

Figure 3.1.1.2 Customer form


Employee form

Figure 3.1.1.3 Employee form

Order book form

Figure 3.1.1.4 order book form

Page42
DATABASE DESIGN
CONCEPTS

Order form

Figure 3.1.1.5 Order form

Positions form

Figure 3.1.1.6 Position form

Page43
DATABASE DESIGN
CONCEPTS

Payment Form

Figure 3.1.1.7 Payment form

3.Reports
There will almost certainly be times when you want to create a summary of data in your
Access database in a printed format, called a report. For example, you might include a report
in a sales presentation, or as part of your company's annual report.

The reports I have created for above scenario are as follows

Author book Report

Figure 3.1.1.8 Author book report

Page44
DATABASE DESIGN
CONCEPTS

Customer Report

Figure 3.1.1.9 Customer report

Employee report

Figure 3.1.2.0 Employee report

Page45
DATABASE DESIGN
CONCEPTS

Order book report

Figure 3.1.2.1 Order book report

Order report

Figure 3.1.2.2 Order report

Page46
DATABASE DESIGN
CONCEPTS

Position report

Figure 3.1.2.3 Position report

Payment report

Figure 3.1.2.4 Payment report

Page47
DATABASE DESIGN
CONCEPTS

The following is separately created switch board to select forms and reports of the book shop.
Simply we can call this as a main menu of the software.

Figure 3.1.2.5 The switchboard

Page48
DATABASE DESIGN
CONCEPTS

Page49

You might also like