You are on page 1of 47

paa

aaa

-yee

oeo
y
ITdesk.info
a paae e-eyae
ca c

yca -

aa a e-ja
eyay
oaje

ca
cy

- Microsoft Access 2010

:
:

ITdesk.info - -

:
- Microsoft Access 2010,
:


:

C
. . , ,
:

:
(),
C :
, ,
ISBN:
978-953-7908-14-0
:

, 2011.

Agencija za odgoj i obrazovanje Republike Hrvatske odobrila je uporabu


ovog pomonog nastavnog sredstva u osnovnim kolama rjeenjem
klasa: 602-09/14-01/0009
urbroj: 561-03-03/15-14-4
Zagreb, travanj 2014.

, ,
,
, (
) (: www.ITdesk.info
- ). ()
(
- ). : info@ITdesk.info .
ITdesk.info -


(), ,
, .
,
.
,
, .
,
, .
, -, (OECD)

,
(. ,
, , ,
).

,
ITdesk.info,
.


.


ITdesk.info :

ITdesk.info is licensed under a Creative Commons Attribution-


Noncommercial-No Derivative Works 3.0 Croatia License
ITdesk.info -

............................................................................................................................1
1 ...............................................................................1
1.1 : ...........................................................1

1.2 - , , .......................................................1

1.3 .......................................................................1

1.4 ..............................................................................................2

1.5 - .................................................................................................5

2 - Microsoft Access 2010 ....................................................8


2.1 ...............................................................................8

2.2 : , ..................9

2.3 ....................................................................................................... 13

3 ..........................................................................................................................15
3.1 ............................................................................................................................ 15

3.2 ....................................................................................................... 15

4 ..................................................................................................21
4.1 .......................................................................................................... 21

4.2 ................................................................................................................................ 23

5 .........................................................................................................................29
5.1 ............................................................................................................................ 29

6 ....................................................................................................................32
6.1 ............................................................................................ 32

6.2 ........................................................................................................................ 38

7 .........................................................................................42

ITdesk.info is licensed under a Creative Commons Attribution-


Noncommercial-No Derivative Works 3.0 Croatia License
ITdesk.info -

.
.

1.1 :

, ,
. , , ,
, .
, .

, :
, .
, ( ) .

1.2 - , ,

.
.
.
. , ,
(, , , ...).

, , :
(Field Size);
(Format) . ;
(Default value) , ,
;
(Validation Rule)
, .

1.3

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 1/42
ITdesk.info -

1.4

1.4.1

.
.
. . Kupci .

.
. .

.
(, ,
, ). . , , , , , ...

Mesto imejl

. 1

1.4.2
.

. 1 :
. ,
, () , . , , :

. 2

( Ime)
( , ).
, .

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 2/42
ITdesk.info -

. 3

1.4.3

.
, , , , /,
.

. 4

,
(Click to Add).
(Design View),
(Data Type).

. 5 (Data Type)

1.4.4

,
. (Field
Properties).

. 6 (Field Size)

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 3/42
ITdesk.info -

(Field Size) . 255 .

. 7

(Format) .
( General, Long, Short, .).

. 8

(Default Value) . / (Yes/No) ,


0.

1.4.5

()
.
.

. . 9 ID
(AutoNumber)

ID () .

,
.

.

. 9 ID Kupci

1.4.6

.

. .

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 4/42
ITdesk.info -


. ,

.

1.5 -

. ,
, , Kupci
Dostava.
.
.

1.5.1

()
.
,

. . 10 IDkupca,
Kupci, IDkupca
Dostava.

. 10 (1xn) Kupci Dostava

1.5.2

() ,
(* ) .
ID kupca, Kupci
Dostava.

1.5.3 /

1 : M (One To Many) .
.

1 : 1 (One to One) .
.

M : M (Many to Many)

.

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 5/42
ITdesk.info -

1.5.4 /

(Database Tools), (Relationships)

,
(Design), (Tools).

(Show
Table) (. 11)
Korpa (Add)
(Relationships).

. 11 (Show Table)

, (drag and drop) (. 12)


:

ID Kupci;
, Kupac ID Korpa
;
(Edit Relationships) (. 13);
(Create) .

Korpa

Mesto

. 12 Kupci
Korpa

. 13
(Edit Relationships)

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 6/42
ITdesk.info -

1.5.5 ?

.

.

(Edit Relationships) (.13)


(Enforce Referential Integrity).

Kupci (
Korpa) Microsoft Access (sl. 14)

'Korpa'
.14

1.5.6 /


(Delete),
Delete .

1.5.7 , ,

.

.
.

(
) .
.

,
(backup) .

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 7/42
ITdesk.info -

2 - MICROSOFT ACCESS 201 0

2.1

,
.

(Tabs):

(File)
(, , ).
(Home) , ,
, .
(Create) , ,
.
(External Data) .
(Database Tools)
(Compact and Repair Database),
, Visual Basic Editor

. .
15 (Table Tools)
.

.15
(Table Tools)

(Quick Access Toolbar)


. (Ribbon).

.16 (Quick Access Toolbar)

(Ribbon) .

. 17 (Ribbon)

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 8/42
ITdesk.info -

(Tables),
(Queries),
(Forms),
(Reports).

.18

()
.

, .

. 19

2.2 : ,

Start (All Programs)


Microsoft Office Microsoft Access 2010;
(Search) 'access'
Microsoft Access 2010;
(shortcut)
(desktopu) .

(Close);
(File), (Exit);
Alt + F4.

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 9/42
ITdesk.info -

2.2.1

(Open) (File);

Ctrl + O;

(Open).

,
(Close Database) (File).

2.2.2

(File) (New).
(Blank Database) :

,
(Create).

(Save),
(File). Ctrl + S
(Save) , (Quick Access
Toolbar).

, ( ) .
, (. 20).

. 20

, .

. 21

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 10/42
ITdesk.info -

, (Save As)
.

. 22 (Save As)

, .

2.2.3 -

(Ribbon) (File).
(Options) (Ribbon).
(tab) , .

.
(Add) . A
,
(Remove).

:

(Minimize the Ribbon);
;
.

:

(Minimize the Ribbon) ( );
;

. 23
(Ribbon)

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 11/42
ITdesk.info -

(Quick Access Toolbar)


. (File)
(Options) (Quick Access Toolbar).
.

. 24




(Quick Access
Toolbar)

(Quick Access Toolbar)


(Ribbon).

(Show Quick Access Toolbar Below the Ribbon)
(Show Quick Access Toolbar
Above the Ribbon).

2.2.4

(Help) (File).
, .
Microsoft Office (Microsoft Office Help)
. (Search)
.
F1.

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 12/42
ITdesk.info -

2.3

:
;
,
(Open)

.25

(, , )

(, , ,
) (File)
(Save).

.26 (File)
(Save)

(, , )

(Close).
Ctrl+W i Ctrl+F4.

, , ,

(View).

(Design View), (Home).

, , ,

, (, , , )
:


(Delete);
(Home) (Records)
(Delete).

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 13/42
ITdesk.info -

, ,

;
: , , , , PageUp, PageDown, Tab, Home,
End;
.

, , ,

(Home) (Sort&Filter)

;

(autonumber, number, currency),
(Sort Smallest to Largest)
(Sort Largest to Smallest);
,
A Z (Sort A to Z)
Z A (Sort Z to A).

. 27

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 14/42
ITdesk.info -

3.1


AutorID
(AutoNumber) ( ).

Mesto i-mejl

. 28

Delete.

,
Delete .
.

Delete.

3.2

3.2.1

(Create) (Tables)

(Close)
, (Save As)
.

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 15/42
ITdesk.info -

. 29 (Save As)

(Design View) ,
(Data Type)
.

( ):

(Text)

Cena
(Number)
/ (Date/Time)

(Currency)
(AutoNumber)
;

/ (Yes/No)

. 30

(Datasheet View) (Table Tools)


(Fields) (Formatting),
(Data Type)

. 31

3.2.2

(Field Size) ,
( 255 ).

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 16/42
ITdesk.info -

. 32

(Format) ,
(Format) (, ...).

. 33

/ /,
(Format) /.

. 34 /

(Default Value) Access


(. . 35 ,
0).

. 35 (Default Value)

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 17/42
ITdesk.info -

3.2.3 , /,

(Validation Rule)
. < 50, 50
.

,
#. .
01.01.1970. 01.01.1975., >#01.01.1970# And <#01.01.1975#.

. 36 (Validation Rule)

3.2.4 ,

, Broj (Number)
Number .

.

3.2.5

(polja)
.
Mesto

Imejl

. . 37
ID
(AutoNumber)
ID
() .

. 37 ID
Kupci

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 18/42
ITdesk.info -

(Design View)

(Design View),
:

(Table Tools) (Tools)

;

(Primary key).

(Table Tools) (Tools)

;

(Primary key).

3.2.6


. (Indexed)
(General):

(No) ,
;
( ) - Yes (Duplicates OK)
;
( ) Yes (No Duplicates)
.

. 38 (General)

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 19/42
ITdesk.info -

3.2.7

(Datasheet View)


. (Insert
Field).

(Design View)

(Table Tools), (Design),


,
(Insert Field).

3.2.8

(Home), (Records)
, (Field Width)
.

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 20/42
ITdesk.info -

4.1

4.1.1 , ,

(Find) (Replace)
. (Home)
(Find). : Ctrl+F
Ctrl+H .

(Home) .

(Find What)
(Find Next).

. 39 Find
and Replace Find

, (Home)
.

(Find What)
, (Replace With), .
(Find Next) , a MS Access
, (Replace).

. 40 Find
and Replace Replace

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 21/42
ITdesk.info -

4.1.2

,
.
.

(Home),
(Sort and Filter).


Filter. , Text Filters (
), (Equals)
(Custom
Filter)
(. Cohen).
Cohen.

. 41 Prezime . 42

(. 43),
...(Clear filter from...).

. 43 Prezime

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 22/42
ITdesk.info -

4.2

(Queries) Microsoft Access


.
. , .

4.2.1


(Query Design). ,
.

(Query Wizard) (Query Design)


(Create) (Queries).

. 44 (Create)

, ,
(Query Design) (
).

Nametaj :
Nametaj
Cena

. 45 Nametaj

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 23/42
ITdesk.info -

Nametaj

Vrste nametaja

. 46
(Show Table)

, .
, (drag and drop),
. Opis, Vrstu Cenu.

Nametaj

nametaja

Cena

Cena
Nametaj Nametaj Nametaj

. 47

,
.
Chair ().

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 24/42
ITdesk.info -

Nametaj

nametaja

Cena

Cena
Nametaj Nametaj Nametaj

. 48

Cena

. 49

( ) , ,
, . ,
( ) . . Kupci (
ID, Ime, Prezime, Grad, Telefon, Adresa) Interesi Kupaca ( ID proizvoda, ID
Kupaca Proizvod). ID Kupca.
Ime, Prezime, Proizvod.

, Kupci Interesi Kupaca.


, ( ) (Ime,
Prezime Kupci Proizvodi Interesi Kupaca) .

4.2.2

: = (), <> ( ), <


( ), <=( ), > ( ), >= ( )

. . Nametaj,
3.000
>.

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 25/42
ITdesk.info -

Cena
Nametaj Nametaj Nametaj
. 50
3.000

Cena

. 51

, , : =
(), <> ( ), <= ( ), >= ( ).

: AND (), OR (), NOT ()

: AND (), OR () NOT ().

. NOT Chair Vrsta .


Chair OR Clock (Clock).

4.2.3 , * ILI %, ? ILI _.

(Find & Replace)


Access ,
.

* .
, .: tele* telefon, televizor telekomunikacije.

? , .: c?sta cesta
cista

[ ] , : c[ei]la cesta
cista-

! , . b[!ae]la
bila bola, bala bela.

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 26/42
ITdesk.info -

- .
. . r[t-v]pa rtpa, rupa rvpa.

# . .: 19#3 1903, 1913,


1923 1983 1993.

4.2.4

, ,


Delete.

OR
, .

Cena
Nametaj Nametaj Nametaj

. 52a

, , .

Mesto

.52b

, , , ,

, ,
/. ,
(
, ) Delete.

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 27/42
ITdesk.info -


. , .

/ , ( )
(Show).

. 53 Show

4.2.5

(Query Tools), (Design)

(Results), (Run) .

(Dynaset Dynamic Set)


, ,
, ,
.

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 28/42
ITdesk.info -

(Table) , .
()
.
(Queries) ,
,
(Forms) ,
, .
(Reports) ,
.
(Macros) .
(.
).
(Modules) VBA
(Visual Basic for Applications).

5.1

. ,
, ,
.

, (Form)
(Create), Access
(.55).

Nametaj

Nametaj
Nametaj

ID nametaja
Opis
nametaja

Vrsta
Cena

.55 O

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 29/42
ITdesk.info -

(Form Design)
(Form Wizard).
.

. 55
name taja
(Form Wizard) Design View
e

5.1.1


. (New Blank Record) .

. 56 (New Blank Record)

Nametaj1

Nametaj
ID nametaja
Opis
Vrsta
Cena

. 57

, ,
( Form View),
(Home), (Records).

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 30/42
ITdesk.info -

, ,

, .
,
Delete.

, ID nametaja , Opis Cenu


Vrstu .

. 58

5.1.2


(Design View) ,
(Layout).

. 59
Nametaj

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 31/42
ITdesk.info -

6.1

, .
(Print),
, .

6.1.1

, ,
(Report), Microsoft Access
. (Report Wizard)
(Report Design).

Nametaj3

Nametaj
Nametaj
Cena
nametaja

. 60

Nametaj
(Report).

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 32/42
ITdesk.info -

. 61. (Report Design)

(Report Design)
.

(Report Wizard)
:

ID nametaja, Opis, Vrsta, Cena

ID nametaja

Table: Nametaj
Cena

ID nametaja

Cena

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 33/42
ITdesk.info -

Nametaj3

. 62. (Report Wizard)

6.1.2


(Design View).
(, , , ),
, (drag and drop).

. 63. (Design View)

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 34/42
ITdesk.info -

6.1.3
: , , , , ,

, , , .
( ), Totals
.
(Report Footer) .

=Sum([Cena])
. 64 (Report Footer)

. 65.

6.1.4

,
(Design View) . ,
.

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 35/42
ITdesk.info -

6.1.5

(.xslx)

(Export)
(External Data). (Browse)
. :

(Export data with formatting and


layout) .
(Open the
destination file after the export operation is complete)
( ).
(Export only the selected records)
(
).

. 66
- Excel
(Export Excel
Spreadsheet)

(.txt)

(Export)
(External Data). (Browse)
.

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 36/42
ITdesk.info -

XML (.xml)

(Export)
(External Data). (Browse)
XML . XML-a
(Export XML) (. 68) (XML) (Data (XML)).

. 67 Export XML

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 37/42
ITdesk.info -

6.2

6.2.1

(File) (Print),
(Print preview). (Page Layout)
(Portrait) (Landscape)
. (Size) (Page Size)
.

. 68 (Print preview)

(Print):

(File), (Print);
Ctrl + P;
(Print
preview).

. 69 (File)

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 38/42
ITdesk.info -

6.2.2

(All) ;
(Pages From) ;
(Selected Records) .

. ,
(Number of Copies) .

. 70
(Print)

6.2.3

, 4 8, 4,
* (Record Selector), Shift
8. Shift (File)
(Print).

6.2.4

, (File)
(Print) ,
(Quick Print). (Quick Print)
(Quick Access Toolbar),
.

*
Quick Print.

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 39/42
ITdesk.info -

. 71 Quick Print

6.2.5

,
(Print).

Korpa

. 72 (Navigation pane)

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 40/42
ITdesk.info -

* :
www.itdesk.info/srp/e-edukacija/Microsoft Access 2010 skripta.pdf

* 5. modul :
www.itdesk.info/srp/e-edukacija/primer ispita/primer ispita modul 5.pdf

* 5
: www.itdesk.info/srp/resenje-primera-ispita-baze-podataka/

* :
www.itdesk.info/srp/baze-podataka-kviz-1/
www.itdesk.info/srp/baze-podataka-kviz-2/

* Microsoft Access 2010


:
www.itdesk.info/hrvatski/microsoft-access-2010-1/
www.itdesk.info/hrvatski/microsoft-access-2010-2/

.pdf
.
.)

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 41/42
ITdesk.info -

7 :

www.ITdesk.info
-
.

,
!

ITdesk Home
ITdesk.info . Microsoft, Windows, Windowsxx
Microsoft Corporation.
ITdesk Home Web .
,
. info@itdesk.info.

___________________________________

. ITdesk.info
/ ,
/ ,
; .
. , ITdesk.info :

,
,
,
, ,
.


, . ITdesk.info
, , ,
, ,
, .
, , ,
,
.
.

ITdesk.info
, ,
.
,
, .
(open source)
, .

ITdesk.info is licensed under a Creative Commons Attribution-Noncommercial-


No Derivative Works 3.0 Croatia License 42/42
-

:

(),

ISBN: 978-953-7908-14-0