You are on page 1of 20

Database Development

Chapter # 8
For the Students of AKUEB
Aims Of Todays Lecture

► Students will be able to understand “MS-Access”.


► Students will be able to understand the “Objects” of
MS-Access.
► Students will be able to understand the concept of
“TBALES”.
► Students will be able to understand the concept of “Data
Types of MS-Access”.
What is MS-Access (Access 2007 Or Above)

What is “MS-Access”?
“It is a Microsoft database product.”
Versions:
► Microsoft has released new versions of Microsoft Access with each
release of Microsoft Office. This includes Access 97 (version
8.0), Access 2000 (version 9.0), Access 2002 (version 10.0),
Access 2003 (version 11.5), Access 2007 (version 12.0), Access
2010 (version 14.0), and Access 2013 (version 15.0)
Objects Of MS-Access

There are six “6” main objects of MS-Access.


1. Tables.
2. Forms.
3. Reports.
4. Queries.
5. Macros.
6. Modules.
1. Tables

“Arrangement of data in Rows (records) and


Columns (fields) is called table.”

OR

“A tabular arrangement of data in form of related


records and fields is called table.”
2.Forms

“A form in Access is a database object that you can use to


create a user interface for a database application.”

OR

“A graphical object that that displays data from a table or


a query in an easy-to-use format.”
3. Reports
“A report is a database object that comes in handy when
you want to present the information in your database for
any of the following uses:
Display or distribute a summary of data.
Archive snapshots of the data.
Provide details about individual records.”

OR

“An object used to present data in a printed format is


called report.”
4. Query

“A query is an Access object used to view, analyze, or


modify data. The query design determines the fields and
records you see and the sort order.”

OR

“An object that is used to view, change or organize data is


called query.”
5. Macros
“A macro in Access is a tool that allows you to automate
tasks and add functionality to your forms, reports, and
controls. ... Macros enable you to add functionality to
forms, reports, and controls without writing code in a
Visual Basic for Applications (VBA) module.”

OR

“A set of one or more actions that are used to automate


common tasks such as opening forms or printing reports is
called macros.”
6. Module
“A module is a collection of declarations, statements, and
procedures that are stored together as a unit. Modules are
very similar to macros since they are objects that provide
more functionality to the database.”

OR

“A collection of Visual Basic for Application programming


components that are stored together as a unit.”
DATA TYPES OF MS-ACCESS
Data Type Usage Size
Short Text (formerly Alphanumeric data Up to 255 characters.
known as “Text”) (names, titles, etc.)
Long Text (formerly Large amounts of Up to about 1 gigabyte
known as “Memo” alphanumeric data: (GB), but controls to
sentences and display a long text are
paragraphs. See The limited to the first
Memo data type is now 64,000 characters.
called “Long Text” for
more information on the
Long Text details.
Number Numeric data. 1, 2, 4, 8, or 16 bytes.

Date/Time Dates and times. 8 bytes.

Date/Time Extended Dates and times. Encoded string of 42 bytes

Currency Monetary data, stored with 8 bytes.


4 decimal places of
precision.
AutoNumber Unique value generated by 4 bytes (16 bytes for
Access for each new record. Replication ID).
Yes/No Boolean (true/false) data; Access stores the 1 byte.
numeric value zero (0) for false, and -1 for true.

OLE Object Pictures, graphs, or other ActiveX objects from Up to about 2 GB.
another Windows-based application.
Hyperlink A link address to a document or file on the Up to 8,192 (each part of a Hyperlink data type can
Internet, on an intranet, on a local area network contain up to 2048 characters).
(LAN), or on your local computer
Attachment You can attach files such as pictures, documents, Up to about 2 GB.
spreadsheets, or charts; each Attachment field
can contain an unlimited number of attachments
per record, up to the storage limit of the size of a
database file. Note, the Attachment data type isn't
available in MDB file formats.

Calculated You can create an expression that uses data from Dependent on the data type of the Result Type
one or more fields. You can designate different property. Short Text data type result can have up
result data types from the expression. Note, the to 243 characters. Long Text, Number, Yes/No,
Calculated data type isn't available in MDB file and Date/Time should match their respective data
formats. types.
Lookup Wizard The Lookup Wizard entry in the Data Type column Dependent on the data type of the lookup field.
in Design view is not actually a data type. When
you choose this entry, a wizard starts to help you
define either a simple or complex lookup field. A
simple lookup field uses the contents of another
table or a value list to validate the contents of a
single value per row. A complex lookup field
allows you to store multiple values of the same
data type in each row.
Class Assessment

1) A record in side a table also known as __________.

A) Relation.
B) Link.
C) Details.
D) Tuple.
2) A attribute is also known as _____________.

A) Relation.
B) Link.
C) Fields.
D) Tuple.
3) A graphical layout which we provide to user for the
interaction with our database is called________.

A) Table.
B) Form.
C) Fields.
D) Tuple.
4) An object of Access which we use to present our data
to user in quiet understandable form is called _______ .

A) Table.
B) Form.
C) Fields.
D) Report.
5) Which view do you use to enter data into a table.

A) Design view.
B) Datasheet view.
C) Database location view.
D) Database design view.
6) Which datatype is used to enter long text
entries..

A) Text.
B) Numeric.
C) Memo.
D) OLE object.
7) Which Access object is considered as
primary?

A) query.
B) macro.
C) table.
D) report.

You might also like