Ms-Access 2007
Ms-Access 2007
Ms-Access 2007
2007
INTRODUCTION OF ACCESS 2007
Ms-Access is a part of Ms-Office Package .Ms-
access is an Application Software which is
installed in computer according to our
requirement. In Ms-Access we can perform
any type of calculation. Here we can maintain
any type of details such as Student Details,
Employee details, product Details etc. Ms-
Access is an Example of RDBMS Application.
The extension of Ms-access is *.Accdb.
INTRODUCTION OF RDBMS APPLICATION
• R.D.B.M.S Stand for Relation Database
Management system. In this application we
can maintain all the Records and can perform
any type of calculation. R.D.B.M.S application
Provide the facility to maintain any details in
it’s real format. For Example :- Number ,text,
currency etc. In this Application we can store
huge amount of data or information for long
time. Ms-access is an Example of RDBMS
application where we always store records in
INTRODUCTION OF DATABASE
• The File of Ms-Access is known as Database.
A database is the Collection of Multiple
objects. The Objects are Table, Query , Form ,
Report and Macro.
Blank
Data base Data base
Click(a) Sharp pvt ltd
Click(b) Create Cancel
TABLE
Table is an object were we store the Records in
Ms-Access. At 1st we create the Design of
Table and then fill the records in table from
Database view.
Office
Micro Soft Office Access X
Yes No Cancel
Student Table X
Name Roll Address
Vinit 1 Telco
Anup 2 Sakchi
Ravi 3 Baridih
Emp Table X
Right Click
Name ID
Vinit 101 Manage
Neha 102 Attachment
Anup 103 Double click
Attachment X
Open
Close
Insert Object X
Create New Bitmap Image Ok Click
Emp Table X
Name ID Bio Data Right Click
-------- -------
Primary Key
--------- --------
All Object Emp Table X
Field Name Data Type Description
Right Click Name Text
ID Number
Post Text
Primary Field Properties
Key ------ --------
------- --------
RELATIONSHIP
Relationship is an option of Ms- access which is used
to create relation between two tables. After creating
the relationship we cannot fill wrong entry in table.
When we create relationship we must have minimum
two table where one is called master table and
another is called transaction table. The table in which
we set primary key and fill the record first, is called
master table and related table is called transaction
table. Transaction table will accept only those records
which is already filled in master table. After creating
relationship whatever we modify in master table, that
will be automatically modified in transaction table.
REQUIREMENT OF RELATIONSHIP
1. Minimum two table
2. One table must have Primary key
3. Data type must be same in both the tables
4. Data type should not be auto number
5. Transaction table must be empty
6. Tables must be closed
Relation Ship X
Salary Table
Emp. Table Name
Name ID
ID
1 Salary
Post Retirement table
Address 1 Name
ID
DOR
Click
Edit Relationship X
Table Query Table Query Create
ID ID
----- ----- Cancel
Show table X
Table Query Add
Emp. Table
Close
Salary Table
Start Save Select Query
PARAMETER QUERY
Parameter Query is a query which is
used to display the record from table. In
this query we can set parameter value in
any field. After we set parameter value
whenever we run that query, it will ask
for the parameter value. After we define
parameter value it will display the
record according to that parameter.
Create Query design
Show table X
Table Query
Emp. Table Add Click
Salary table
Close
Save Emp. Para Query
UPDATE QUERY
Update Query is a query which is used
to update the record of table. Using
this query we can easily change or
modify the information of table. Using
update query we can also perform
calculations.
Right Click
Build
Table Name
Update to
Criteria
OR
Expression Builder X
[Salary Table] ! [Salary] * 15/100
Ok
Cancel
+ - * / Paste
Click (a) + Query Name
Click (c)
+ Table ID
Click (d)
Click (b) + Emp Table Salary
- Salary table DA 15%
Click
Form
All Object Emp Table
Click
Emp Table Name Neha
Salary Table ID 101
Design
Post MD
View
Name ID Post Salary
Design Neha 101 MD 50,000
View
Sharp Pvt Ltd Database -- X
Home Create Design
a/d ……….
Arial 22
View Aa ………… (for text)
B I U
A Label ……. Image
------- -------
All object Emp. Table X
Emp. Table Name ID Past
Emp. form Neha 101 MD
Anup 102 Mgr
Vinit 103 PO
MACRO
Macro is an object of Ms-access which is
used to create the button of all objects like
Table, Query, Report etc. In other words we
can directly operate any object from
macro. In macro, we can also create the
maximize, minimize, restore, quit buttons.
We can also display message before
opening any object.
Create Macro
Macro : 1 X
Action Comments
Open table
1.CTRL + C
2.F12 or CTRL + S
3.CTRL + V
How to Display Message
Macro : 1 X
Action Comments
Msg Box
Title Hello
SWITCH BOARD
Switch board is an option of Ms-Access which is
used to add all the macro buttons in switch
board. After we add the macro buttons we can
directly operate that object. In Ms- Access we
can create any number of switch board and
store maximum eight buttons in a single switch
board. We can also create a link between two
switch boards.
1. Database tools Switch board manager
2. Switch board manager X
Main switch board(default)
Click (e)
Click (d) Emp. Switch Close
New Click (a)
Edit Click (g)
Delete Click (f)
Make as Default Click (d)
OK Cancel
Edit Switch board Page X
Switch board name
Emp. Switch Close
Item of Switch board page New
Edit
Delete
Move up
Click Move
down
Edit Switch board Item X
Text Emp. Table CTRL + V
Command Run Macro Click
Macro Emp. Table
CTRL + C
OK Cancel 2 times
Ok Cancel
START-UP
Start-up is an option which is used to add any object
in the starting page . Whenever we open our data
base then the required object will automatically open
which is being added in start-up.
Access Option
Access option X
Display
Office Current Switch board
Click (a)
Data base None
Form
Ok Cancel
SECURITY
Security is an option which is used to
Protect our data base with a password.
To define the password we 1st have to
open our data base in exclusive mode.
Open
Office
Open X
---------- My document
--------- Sharp Pvt ltd
Click
--------- ------------
--------- -------------
File Sharp Pvt ltd open
Open
Cancel Open inclusive
Click
Verify
******
Ok Cancel