Sig Exam
Sig Exam
Faculty of Economics
Business Administration
Year II
Topic:
Vlad Gheorghe
2020
Content
1
1. The purpose of the application
2. Defining database and tables
3. Integrity restrictions at the table level
4. Relationships between tables
5. How the application works
6. Structural presentation of the application
6.1. Menu
6.2. Queries
6.3. Forms
6.4. Reports
7. Conclusions
8. Bibliography
2
The computer system is a component of the information system, namely that part of it that
takes over and solves the tasks of collecting, processing, transmitting and storing data using
computer systems. In order to fulfill its role in the information system, the computer system
includes the whole all resources, rules, procedures, means, methods and techniques, which
ensure the automatic processing of data.
The database management system represents the totality of the programs used by creating,
querying and maintaining a database.
The purpose of this management information system is to provide a way to organize all the
books in a library, regardless of its size, in a way easily accessible by a large number of people.
At the same time, this management information system allows library employees to check the
stock of books in real time, their availability and provide a prompt response to book seekers
without making the huge effort of physically searching for the book.
o the management of the borrowers and the history of each one (book file)
An important advantage of this system is that the interface is operable on a popular operating
system (Windows).
3
2. Defining database and tables
TABLE 1
“Author”
This table shows the list of all the authors in the library:
AuthorID – is an unique identification number associated to each author from the library.
TABLE 2
“AuthorBook”
This table shows the author’s id and the ISBN of the books written by that author.
AuthorID - is an unique identification number associated to each author from the library.
4
TABLE 3
“BOOK”
Table “BOOK” shows the list of all books in the library.
CopiesNumber – is the total number of copies of each book registered in the library.
TABLE 4
“LENDBOOK”
5
LenderID – is the unique identification number of each lender.
Status – represents the status of the book (returned, borrowed, time exceeded).
TABLE 5
“LENDER”
6
3. Integrity restrictions at the table level
Table LENDER
LenderID – must have a four digits code, for this we use LEN function.
If we enter a code with more or less digits, a warning like the one below will appear in the
database.
Category – must have three predefined options (student, employee, retired) and for this
we use “Select” function.
7
After we introduce “Select “ Default Value, we access the Lookup menu to introduce the desired
categories in the Raw Source.
Table LENDBOOK
LenderID – must have a four digits code, for this we use LEN function.
ISBN- must have a 13 digits code , for this we use LEN function
8
LoanDate – is a field where we need to introduce a date, and for fastening this task, we
use DATE function.
We introduce DATE() function in Default Value, so the date will be automatically introduced.
Status- can have only three completing options( borrowed, returned, time exceeded).
After we introduce “Select “ Default Value, we access the Lookup menu to introduce the desired
categories in the Raw Source. ( borrowed, returned,term exceeded)
9
TABLE BOOK
ISBN- must have a 13 digits code , for this we use LEN function.
TABLE AUTHOR
AuthorID- must have 4 digits code, for this we use LEN function.
TABLE AUTHORBOOK
AuthorID- must have 4 digits code, for this we use LEN function.
ISBN- must have a 13 digits code , for this we use LEN function.
o The link between the AUTHOR table and the AUTHORBOOK table is made through the
AuthorID field.
10
o The link between the AUTHORBOOK table and the BOOK table is made through the
ISBN field.
o The link between the BOOK table and the LENDBOOK table is made through the ISBN
field.
o The connection between the LENDBOOK table and the LENDER table is made through
the LENDERID field.
Form View Mode shows the main menu which includes four disctinct segments:
DATA PROCESSING – includes the following buttons: NEW LENDER, NEW LOAN,
BOOKSHEET;
11
SEGMENTS:
UPDATES SEGMENT
12
We also used “Previous” and “Next” record buttons for navigating between registrations and
“close” button for returning to the menu.
13
We also used “Previous” and “Next” record buttons for navigating between registrations and
“close” button for returning to the menu.
We also used “Previous” and “Next” record buttons for navigating between registrations and
“close” button for returning to the menu.
DATA PROCESSING
14
We also add a “close” button.
15
- opens a registration which shows lenders personal
information and their loans.
We also used “Previous” and “Next” record buttons for navigating between registrations
and “close” button for returning to the menu.
REPORTS/STATEMENTS
16
→ open a query that shows all the books
lended by a category of lenders (student, employee, retired).
If you do not enter one of the 3 parameter value, no data will show up.
17
LABELS
18
6. Structural presentation of the application
6.1. Menu
For an easier accessing of the menu, we used objects type “Label” and “Button”. For
example, we used label for writing the title and the name of the menu and the segments. Objects
type Button were used for queries, forms, reports and to close the menu.
6.2. Queries
19
QUERY 1 – Loans in a day
This query will display all the loans from a certain day. Thus, we will introduce the elements that
must be displayed conditioned by the loan date.
DESIGN VIEW:
SQL VIEW:
20
This query will display the loans made by a certain category of lenders. So, use put a condition
that will permit to open the records. That condition is: [Insert category(student,
employee,retired)]
DESIGN VIEW:
SQL VIEW:
ORDER BY BOOK.PublishingHouse;
21
6.3. Forms
The forms are used both to update existing data and to add new data.
This form is used for updating, editing or deleting existing data about books. We also added
buttons for easier navigation , e.g. previous record, next record, close button and return to the
MainMenu.
Form 2 and Form 3, respectively LENDER UPDATE and AUTHOR UPDATE were made in
the same way as Form1: BOOK UPDATE.
The following 2 Forms, NEW LENDER and NEW LOAN have the characteristic that they
allow the introduction of new data.
Thus, using the "Property Sheet" section, changing the "Data Entry" from NO to YES allowed
the creation of an empty form for entering new data.
22
NEW LENDER FORM:
6.4. Reports
Report is a tool which brings information to the selected persons, usually presenting an
information generated automatically following the report configuration.
23
Connecting a table / query to the report is done by activating the Property Sheet menu and
using the Record Source property (hidden list).
LABEL
Labels create messages that combine text and information from tables. The option by which
we can create such labels can be found in the Create menu, Labels section.
Our label automatically generates invitations to library events, such as the launch of a book in
the near future.
24
REPORT VIEW OF THE LABEL: DESIGN VIEW OF THE LABEL:
7. Conclusions
The use of such a computer system adapted to the system in which a library works is
absolutely necessary due to the large volume of information that must be centralized, sorted and
categorized.
25
This computer system is a very useful work tool saving huge amounts of time and effort and
thus making great savings. A big plus is the almost insignificant cost of operation and almost
non-existent maintenance.
At the same time, it allows the integration of a huge database in the online system, available to
anyone who wants information or books. All system components define a set of tools that
facilitate the entire activity of the library.
Queries, forms and reports were used for this computer system. The queries used allow the
classification of the records in the tables defined according to certain conditions. Also, the forms
have the role of facilitating the way of working, creating different menus and calculation forms
as the case may be. And last but not least, the reports have the role of preparing the data for
printing, but still these reports allow the addition of some changes, this greatly facilitating the
work.
8. Bibliography
https://ro.wikipedia.org/wiki/Sistem_de_gestiune_a_bazelor_de_date
https://studocu.com/ro
26