Sunteți pe pagina 1din 130

Lector univ. drd. Mihai Gavot!

BAZE DE DATE




















Bucure"ti - 200#
CUPRINS
CUPRINS...................................................................................................................................................... 2
1. INTRODUCERE........................................................................................................................................ 4
2. TERMINOLOGIE !I MODELE DE DATE ................................................................................................. 6
2.1. MODELE DE DATE ........................................................................................................................... 7
2.1.1. Modelul rela!ional........................................................................................................................ 7
3. BAZE DE DATE RELA"IONALE.............................................................................................................. 9
3.1. SCURT ISTORIC............................................................................................................................... 9
3.2. TIPURILE DE RELA"II ...................................................................................................................... 9
3.2.1. Rela!iile unu la unu................................................................................................................. 10
3.2.2. Rela!iile unu la mul!i ............................................................................................................... 10
3.2.3. Rela!iile mul!i la unu ............................................................................................................... 11
3.2.4. Rela!iile mul!i la mul!i.............................................................................................................. 12
3.3. REGULI DE NORMALIZARE........................................................................................................... 13
4. ACCESS 2000 ........................................................................................................................................ 17
4.1. DE CE ACCESS? ............................................................................................................................ 17
4.2. CE VOR CON"INE CAPITOLELE URM#TOARE? ......................................................................... 18
4.3. INSTRUMENTUL SOFTWARE ACCESS 2000 ............................................................................... 19
4.4. O PREZENTARE GENERAL# A PRINCIPALELOR OBIECTE ACCESS 2000............................... 23
5. TABELELE !I SISTEMUL DE RELA"II ................................................................................................. 26
5.1. TIPURILE DE DATE ACCESS 2000................................................................................................ 27
5.2. CREAREA TABELELOR.................................................................................................................. 28
5.3. SALVAREA TABELELOR................................................................................................................ 34
5.4. PROPRIET#"ILE CMPURILOR.................................................................................................... 34
5.5. IMPORTUL $I EXPORTUL DATELOR............................................................................................ 36
5.6. RELA"IILE DINTRE TABELE.......................................................................................................... 38
6. CREAREA !I UTILIZAREA INTEROG#RILOR..................................................................................... 43
6.1. INTEROG#RILE DE TIP SELECT................................................................................................... 49
Lucrul cu func!ia like....................................................................................................................... 50
Concatenarea %irurilor de caractere ............................................................................................... 52
Dialogurile parametrizate ............................................................................................................... 52
Lucrul cu func!ia between............................................................................................................... 53
6.2. INTEROG#RILE DE TIP TOTALS................................................................................................... 54
6.3. INTEROG#RILE DE TIP UPDATE.................................................................................................. 57
6.4. INTEROG#RILE DE TIP MAKE-TABLE.......................................................................................... 59
6.5. INTEROG#RILE DE TIP DELETE................................................................................................... 60
6.6. INTEROG#RILE DE TIP APPEND................................................................................................. 61
6.7. INTEROG#RILE DE TIP CROSSTAB............................................................................................. 62
TERMINOLOGIE $I MODELE DE DATE

7. FORMULARE !I RAPOARTE ................................................................................................................ 68
7.1. FORMULARE (FORMS).................................................................................................................. 68
7.1.1. Crearea formularelor cu ajutorul vr&jitorilor (wizards) ............................................................. 71
7.1.2. Crearea formularelor n mod proiectare direct& ........................................................................ 75
7.2. RAPOARTE (REPORTS)................................................................................................................. 84
8. LUCRUL CU HIPERLEG#TURI.............................................................................................................. 93
!I GENERAREA PAGINILOR WEB........................................................................................................... 93
8.1. SCURT# INTRODUCERE ............................................................................................................... 93
8.2. WORLD WIDE WEB ........................................................................................................................ 94
8.3. TEHNOLOGII $I PRODUSE PROGRAM TIP CLIENT INTERNET.................................................. 95
8.4. TIPUL DE DATE HYPERLINK......................................................................................................... 96
8.5. GENERAREA PAGINILOR WEB................................................................................................... 100
9. ADMINISTRAREA !I ASIGURAREA SECURIT#"II BAZELOR DE DATE ACCESS.................................. 105
9.1. COMPACTAREA $I REPARAREA DATELOR .............................................................................. 105
9.2. CREAREA COPIILOR DE SIGURAN"#........................................................................................ 106
9.3. SECURITATEA BAZELOR DE DATE............................................................................................ 107
9.3.1. Principiile securit&!ii bazelor de date n re!ele locale............................................................... 107
9.3.2. Protejarea prin parol& la nivelul bazei de date ........................................................................ 108
9.3.3. Criptarea bazei de date........................................................................................................... 109
9.3.4. Securitatea la nivelul grupurilor %i utilizatorilor ........................................................................ 110
ANEXA 1 STRUCTURA TABELELOR UTILIZATE N EXEMPLE. RELA"IILE DINTRE TABELE ...... 114
ANEXA 2 PROBLEME PROPUSE ........................................................................................................ 116
Reguli de normalizare................................................................................................................... 116
Tabele .......................................................................................................................................... 116
Interog&ri ...................................................................................................................................... 117
Formulare..................................................................................................................................... 118
Rapoarte....................................................................................................................................... 119
Pagini internet............................................................................................................................... 120
Securitatea %i administrarea bazelor de date................................................................................ 120
ANEXA 3 DIC"IONAR DE TERMENI .................................................................................................... 121
BIBLIOGRAFIE......................................................................................................................................... 130
1. INTRODUCERE
! ! " ! #
# # # #
!#
# ! #
# # # "
# # ! # !
! #
"
# !
! #
! # # # !
"
baz! de date # !
# #
# # ! # " #
# " ! # " sistemul de
gestiune a bazelor de date !
# # #! "
# ! # "
# "
# # #
" ! " !
# ! "
" !
utilizatorii finali ! #
!
!
programatorii de aplica"ii # !
Visual Basic for Applications C,C++, Java,
PHP, PERL ! " front-end #
# # #
"
administratorul bazei de date # #
! # " "
!
TERMINOLOGIE $I MODELE DE DATE

# !# #!
!
o ! ! # # "
# #
# " # !# #
o ! !
multiuser # # "
# " !
o ! " ! !
" " ! " !
o ! #
" !
! !
o #! ! " ! "
o # # "
#
" # # !
" !
o ! !# ! " !#
# " # #
# # # # !
# "
! # #
#! ! #!
# # # !
! "
! # #
! ! "
MS-Access
! Access
2. TERMINOLOGIE !I MODELE DE DATE
!
" ! "
# !
" #
niveluri
extern #
conceptual # "
intern "
sistem de gestiune a bazelor de date # # func"ii

#

o
o "
o
!
o ! !#
o
o " !

o
o

# # ! # obiect #
Entitatea # #
record row
Atributul # #!
# # field
column
Tipurile de date "
" bytes #
Domeniul atributului
! "
TERMINOLOGIE !I MODELE DE DATE 7

Identificatorii #! # " #
Tabelul table ! #!
" # #! #! # "
Baza de date database # ! #!
#
# # # #
# ! # # # un administrator al bazei de
date " !
" # ! ! "
# ! #
" # " #
"
! " #
" !
2.1. MODELE DE DATE
# #
# " # # # !
#
! !
!
! " ! # "
#! # # # #
# # #
" ! "
! #
# ! " #
# sisteme de gestiune a bazelor de date
Access, !
2.1.1. Modelul rela$ional
!
# # ! # #
# # " #
Algebra rela"ional! # "
! " # ! ! !#
! "
8 Lector univ. drd. Mihai Gavot% - Baze de date
Normalizarea #
#
! # # "
# ! #
! # "
!
! ! # #
# ! #
Structured Query Language "
Query By Example
! # #
"
# !
MS-SQL Server, Oracle, Informix, DB2, Access, Visual Fox,
MySQL # #
# #!
# "
! #! #
! # "
! #! # ! # !
"
3. BAZE DE DATE RELA"IONALE
3.1. SCURT ISTORIC
! ! # #
! # $ $
#
$ # # dBASE
# # ! dBASE
" " !
# ! # $ !
FoxPro ! # "
" $ ! "
# # " !
# #
# ! !
dBASE " FoxPro # #
Access ! "
! !# "
" MS-Office
! "
MS-SQL Server,
Oracle, DB2 " Informix ! # # #
" " !# Access Visual
Fox
# #
# ! !
#
"
3.2. TIPURILE DE RELA"II
" # !
! Date personale angaja%i,
Clien%i, Func%ii, Produse, #
# # " #! #
! # # # !
# # #
! " # # ! # !
10 Lector univ. drd. Mihai Gavot% - Baze de date
# " # !
! ! " ! ! ! #
# ! ! " #
#
3.2.1. Rela$iile unu la unu
# ! #
# # #
#
BAZE DE DATE RELA"IONALE 11

# !
! " # # # Date personale angaja%i "
# # # # ! #
# # # Deplas!ri angaja%i #
# Cod persoan!
# ! !
#
# Date personale angaja%i # #
Deplas!ri angaja%i #
# #
! " #
3.2.3. Rela$iile mul$i la unu
# ! ! # #
# Deplas!ri angaja%i # # Date personale angaja%i
! ! # "
Deplas!ri angaja%i Cod persoan!
# # # " Cod persoan!
Tabela
Date personale angaja%i
Cod persoan!
#
! #
#
Tabela
Deplas!ri angaja%i
Cod persoan!
#
#
# !
$
Cod
persoan!
Nume
persoan!
Adresa
0025
0033
0#23
Cod
persoan!
Data
deplas!rii
Locul
deplas!rii

$ $ "
$ $
$ $ !
$ "
$ $ !
Cod
persoan!
Data
deplas!rii
Locul
deplas!rii

$ $ "
$ $
$ $ !
$ "
$ $ !
Cod
persoan!
Nume
persoan!
Adresa
$
12 Lector univ. drd. Mihai Gavot% - Baze de date
3.2.4. Rela$iile mul$i la mul$i
!
!
# #! " #
# # # #
" # # #
# # # # # Tabela Date
personale angaja%i " Tabela Documenta%ie tehnic! " # !
# ! ! ! #
# # ! ! #
# # ! ! !
! " #
! #
# # # # ! !
!
# ! Tabela
Documenta%ie consultat! # ! " ! !
Cod
persoan!
Nume
persoan!
Adresa
0025
0033
0#23
Cod
docum
enta%ie
Denumire Data
apari%iei

! $ $ $ $
! $ $
! $ $
! $$ $$ $
Tabela
Documenta%ie
consultat!
Cod documenta%ie
Cod persoan!
Tabela
Date personale
angaja%i
Cod persoan!
#
! #
#
Tabela
Documenta%ie
tehnic!
Cod documenta%ie
!
$
$
Tabela
Date personale angaja%i
Cod persoan!
#
! #
#
# ! !

Tabela
Documenta%ie tehnic!
Cod documenta%ie
!
BAZE DE DATE RELA"IONALE 13

# ! ! ! # ! !
# # ! # # #
# ! # # # ! " !
!
3.3. REGULI DE NORMALIZARE
!
" !
# !
# ! # # # #
! # "
" #! "
# ! # "
!
! " "
" # Further Normalization of the Data Base Relational
Model # # $
# # Factur! #
# # # ! ! # "
! ! ! !
# # ! #
" # # # # # Facturi.

- # # Facturi #
# # # # Num!r factur!.
# # #
# # # # Adres! client
! ! " #
# # #
!# !# #!
Adres! client &ar! client
Localitate client " Adres! client " #
!# " #!
# # # # !
# # #
#
Total valoare factur! " Total valoare TVA
# # " #
# #




#. Prima regul! de normalizare plate !
# # #
# #
Tabela
Facturi
Num!r factur!
#
#
14 Lector univ. drd. Mihai Gavot% - Baze de date
# # !
! # # "
# #















Facturi " Linii facturi # ! ! $ #
# #
# Linii facturi # # #
# # # # Num!r factur! " Cod produs.

2. A doua regul! de normalizare # # #
# " # # # #
#
# #
# Denumire produs " Unitatea de m!sur! Linii
facturi # " "
# # ! "
# # # # #
# " !
# #


Tabela
Facturi
Num!r factur!
#
#
#
#
Tabela
Linii facturi
Num!r factur!
Cod produs
# #
!
Tabela
Facturi
Num!r factur!
#
#
#
#
Tabela
Linii facturi
Num!r factur!
Cod produs
!
Tabela
Produse
Cod produs
# #
BAZE DE DATE RELA"IONALE 15

# Linii facturi " Produse
Cod produs Produse #
# Linii facturi
" # # # # Produse
Linii facturi " Produse # ! ! $ #
# #
3. A treia regul! de normalizare #
# # #
# #
Facturi # # " Adresa
client Banc! client " Num!r cont client Denumire client. #
# # " #
#
Valoare " Valoare TVA ! "
#
! #
# # !
# #
# Facturi " Clien%i
Denumire client # #
Clien%i " # # # Facturi. # #
! ! $ # ! ! " !
Clien%i ! !
# # # # !
# #
# # Denumire client
# ! "
" # ! # # " #
! Cod client
# " # # #
Clien%i " Facturi #
" ! #
Tabela
Facturi
Num!r factur!
#
#
Tabela
Linii facturi
Num!r factur!
Cod produs
!
Tabela
Produse
Cod produs
# #
Tabela
Clien%i
Denumire client
#
#
16 Lector univ. drd. Mihai Gavot% - Baze de date
# ! # # # # #
# # Total valoare factur! " Total valoare TVA
# ! # ! !
# # # " #
# # ! # #
#
#
! # "
MS-Access
!
Tabela
Facturi
Num!r factur!
#
Tabela
Linii
Num!r factur!
Cod produs
!
Tabela
Produse
Cod produs
# #
Tabela
Clien%i
Cod client

#
#
4. ACCESS 2000
4.1. DE CE ACCESS?
" # Access
MS-Office #
! Access # "
Word Excel Outlook
# Power Point
" #
! # " " #
Microsoft Office Professional # "
!
# #
MS-Office
# Access 2000
# Access 2000, " desktop
# Jet # ! desktop
# $ Paradox
! dBASE Access
# !# " FoxPro ! "
Visual Fox #
!# Access
" ! # Access #! # !
# ! # " # #
# # MS-Office) " #! "
# #
# !
" !
# Access # #
" !
# # # #
# ! !
" !
#! !
18 Lector univ. drd. Mihai Gavot% - Baze de date
4.2. CE VOR CON"INE CAPITOLELE URM#TOARE?
# " # #
#
# Access 2000
o
o
o
o
o vr!jitori wizards
# Access 2000
o
o #
o
o
o
o
o
" !
o " #!
o
o Access "
o !
o
o "
o "
" #
o # (queries vr!jitorii Access
o # Query Design
o " #
o #
o # Crosstab wizard Access
o # " delete # append "
update
forms " reports
o Form Wizard
o Form Design
o subforms
o Report Wizard
o Report Design.
# " " #
o Hyperlink Access
o "
ACCESS 2000 19

" #! Access
o "
o "
o Access "
o " !#
Access 2000
Access #
! ! #
" # Visual Basic for Applications
" Structured Query Language !
Access 2000, #
! Access
# " #
Access-ul # ! #
# " "
# " "
!#
" # Access
# ! # " #
20 Lector univ. drd. Mihai Gavot% - Baze de date
# # #
$ Northwind #
# Access
Blank Access database
# vr!jitorii
Access database wizards, pages, and projects
$ # # Open an existing file ! #
! # # "
! # # # Northwind
" # " # !
#
# Tables, Queries, Forms,
Reports, Pages, Macros, Modules # #
Tables
ACCESS 2000 21

# # Blank Access database
# ! # " folder
db#.mdb " folder-ul My
Documents #
File Open / Save ! #
" " folder # # ! "
# # Create !
# # " # #
" # Open Design
#
22 Lector univ. drd. Mihai Gavot% - Baze de date
# # Access database wizards, pages, and projects
# wizard-ul !
# !
! " # Access
! #
mouse-ului "
# # " # #
# " ! "
Access,
Office Word, Excel, Power Point # #!# # #
# ! help-urilor "
tooltip mouse
ACCESS 2000 23

# " #
Design) Access
Access #
proiectare Design View
"
lansare !
o Datasheet View " #
o Form view
o Print Preview
o Page View
o Run # "
4.4. O PREZENTARE GENERAL# A PRINCIPALELOR OBIECTE ACCESS 2000
# # Access "
.mdb # #
" # "
" "
Access ! !#
# "
" # #! " #
"
! Access
# "
! " !
Application Access Object Model #
Data Access Objects
24 Lector univ. drd. Mihai Gavot% - Baze de date
Tabelele (tables)
! # # # #
# #
" # records "
fields
#
# ! relatioships
Interog!rile (queries)
#
# " Access
# " " $ #
query " # #
Formularele (forms)
!
# # Visual Basic for
Applications #
!
" # switchboards #
! #
! " " Access
# ! !
Rapoartele (reports)
# ! " " #
#
" !
! " # # # # #
!
" ! ! " #
# # " #
" !
"
! " # # " #
! title, header, detail, footer # !
Macrocomenzile (macros)
# # !
#
! # ! Access
2000 #
ACCESS 2000 25

Access #
! #
Modulele (modules)
! ! Visual Basic for Applications
# " # #
# !
mouse
! ! !
! " # modules
Paginile internet (pages)
"
! Access 2000 " Data Access Pages
" browser-ului Internet
Explorer 5.x # # # MS-Office 2000
5. TABELELE !I SISTEMUL DE RELA"II
" # # # #
# #
" # #
#
# " " !
fields #
# field # " #
# # # #
# ! !
# records ! # ! #
# " " # # #
# # ! # "
! # "
! " # !
#
# # ascending
# descending #
# # # " #
! #
# cheie primar! de acces !
Access
" ! cheile de index # "
# # # " # # # # # ! # #
# # "
" !
" !
! # ! #
# # #
!
# atomice # ! # #
! # # # #!
# # # "
# # #
# # #
# !#
" # !
Access # # # #
" ! " " !# "
# !# "
" "
# # # #
TABELELE !I SISTEMUL DE RELA"II 27

# # # # "


5.1. TIPURILE DE DATE ACCESS 2000
#
" # #
" ! !
Access 2000 #
Tip de date Caracteristici
!
# !
# # !
# #
field size
Tip Domeniu de valori numerice ce pot fi
memorate
Octe%i
ocupa%i
$
$ $
$ $
$
$ $ $ $
$
$ $ $
Denumire format Exemplificarea afi"!rii
$ $
$
$
$
$ $
# $ #
# # ! # #
#
28 Lector univ. drd. Mihai Gavot% - Baze de date
Tip de date Caracteristici
Denumire format Exemplificarea afi"!rii
$
#
!
"
#
" # ! !
#
#
Denumire format Exemplificarea afi"!rii
$ $ $
$ $
$ $
$ $
$
$ $
$
# "
# !
!
"
browser
mouse ! #
browser " # #
# #
# # "
5.2. CREAREA TABELELOR
Access 2000 ! ! !
$ Create table in Design view Design view
Create table by using wizard #
Create table by entering data
TABELELE !I SISTEMUL DE RELA"II 29

! # #
Tables # #
# # Create table in Design view, #
# " # # " #
" #
# # #
# Date personale angaja%i # #
! !
30 Lector univ. drd. Mihai Gavot% - Baze de date
Field Name
# # combo box
# Data Type
# combo box
# data angajarii
# Date / Time
# # cod
persoana cheie de acces
Primary Key
# #
!
" cod persoana " "
cheie intern!
! " nume
persoana " adresa
Text cod functie " " cheie
extern! " cmp de leg!tur! # # # # Nomenclator functii
# # #
# # # # !
cod functie cheie de acces primar!
denumire functie Text !
! ! " cod
categorie functie # #
# # # #
Nomenclatorul categoriilor de functii
# Field Size cod categorie functie
byte byte
# #
! !
# # #
byte # byte
Nomenclatorul categoriilor de functii #
#
Nomenclatorul categoriilor de functii #
#
! "
"
# queries #
#
TABELELE !I SISTEMUL DE RELA"II 31

" # # Design View Access
2000 ! # # Create
table by using wizard # " Create table by entering data
"
#
# ! Create table
by using wizard. ! !
Business Personal. #
# Access #
# # # Business
Access 2000, # #
" #
# # # ! Create table
by entering data
# Create table by entering data # #
# # # $ Field#,
Field2,,Field#0 " $ # # #
# Design View
" #!
Design View ! # toolbar)
!
32 Lector univ. drd. Mihai Gavot% - Baze de date
" Status bar Datasheet View
# ! Access # #
Datasheet View # Nomenclatorul categoriilor de functii
TABELELE !I SISTEMUL DE RELA"II 33

# Datasheet View Access !
#!
#
#
o Design View Datasheet
View
o
o # #
o #
o ! #
o # #
# ! #
# !
o # $
o #
o # # !#
# # #
#
# Enter
o #
o
o ! #
#
#
! #
#
! #
# !
34 Lector univ. drd. Mihai Gavot% - Baze de date
5.3. SALVAREA TABELELOR
# Field Name
Data Type " #! Field Properties
# # "
Indexes toolbar Primary
Key
# ! Save Save as File
Menu bar ! #
# !
$ Access
#
Nomenclator
functii
#
Enter


5.4. PROPRIET#"ILE CMPURILOR
Design View
#
#
! Field Properies #
# Design View
# #
Design View
Nomenclatorul categoriilor de functii
#!
Field Name
"!
Data Type # #
combo box Text, Memo, Number, Date/Time, Currency,
AutoNumber, Yes/No, OLE Object, Hyperlink, Lookup Wizard.
Description !
TABELELE !I SISTEMUL DE RELA"II 35

Primary Key #
Field Size " ! #
Format "
"
Precision # Decimal " " #
" # # $
#
Scale - Decimal " " # "
Decimal Places # # " Number "
Currency
Input Mask # "
# #! Builder
# # # wizard
Caption " # # #
# Datasheet
Default Value # # #
# # " #
Validation Rule # #
$ # #
$$
Validation Text ! "
# Validation Rule
36 Lector univ. drd. Mihai Gavot% - Baze de date
Required # Yes " No Yes # #
# # #
# Required No # " Null
Allow Zero Length # Permite Lungime Zero " #
Text, Memo " Hyperlink # Yes " No
Indexed # # # " #
Yes
(Duplicates OK), Yes (No duplicates) " No # No, # #
# # # Memo, OLE Object
" Hyperlimk
New Value # AutoNumber " #
# Increment " Random
Increment # # # ! #
$ Random
5.5. IMPORTUL !I EXPORTUL DATELOR
File # Access 2000 # #
! Access,
dBase, Paradox !
Get External Data Get External Data
# !
$ Import #
#
Access # # # # Piese.dbf # dBASE IV
# Get External Data, # # # #
PIESE " # # #
Piese.dbf.
Link Tables # # Access
"
# Access
# # # Piese.dbf # dBASE IV " # "
# # Access
# # Piese.dbf # !
Link Tables
# #
Piese.dbf, !
# PIESE.
# # Piese.dbf # !
# # !
# " PIESE
Access # PIESE#
TABELELE !I SISTEMUL DE RELA"II 37

Export. # ! File # " #
Access #
" Access
dBASE IV, # # ! Export #
File # # Date angajati #
# dBASE IV # Date angajati.dbf
# "
o Date angajati " ! Export
File # #
38 Lector univ. drd. Mihai Gavot% - Baze de date
o dBASE IV (*.dbf) combo box
Save as type
o # Save ! folder
My Documents # " Date
angajati.DBF Date angajati.INF " Date angajati.MDX
dBASE IV
Access 2000 # # #
Access " Access (tables, queries,
) " ! # #
Clipboard
Clipboard Edit, # !
Edit # ! Copy, Cut, Paste " Delete
" Word Clipboard
Word # Access #
# Access # # Access # Word
Excel Excel Access,
5.6. RELA"IILE DINTRE TABELE
! # #
! ! ! "
! ! # # ! ! ! ! #
# !
! # # !
! #
! ! !
Access !
# ! ! # Date
angaja%i # #
# # # cod studii " # # # #
# # Nomenclator studii # #
# # !
#
#
!
# # # "
Nomenclator studii
#
cod studii denumire studii
# #
$
TABELELE !I SISTEMUL DE RELA"II 39

! Access
! Relationships # #
# !
40 Lector univ. drd. Mihai Gavot% - Baze de date
#
# Date angaja%i
Nomenclator studii
$ ! Relationships ! #
# Show table
# # !
# " #
Add
# Nomenclator studii
TABELELE !I SISTEMUL DE RELA"II 41

# # Close
Relationships # Nomenclator studii # # !
! # Date angaja%i " Nomenclator
studii cod studii mouse-ul drag & drop
mouse-ului # cod studii Date angaja%i
cod studii Nomenclator studii # mouse-ului
# #
! #
Join Type
"
#
#!
!
! " !
42 Lector univ. drd. Mihai Gavot% - Baze de date
!
# drag
& drop
Date angaja%i #
Nomenclator studii
" #
# !
Date angaja%i #
# !
# #
Edit Relationships " # Create
! # !
# Relationships
# !
# ! Deplasare angaja%i " Date angaja%i
# # Deplas!ri angaja%i # # !
! # cod persoana
6. CREAREA !I UTILIZAREA INTEROG#RILOR
# queries # "
# "
" Access-ul !
# " #! #
# " # Access
# #! " # " # # " !
# # # " !# #
# " # # # "
! "
" " " !
# ! !
" " #
# #
Access 2000 #
# " # !
#
# ! " # #
# #
Select Query
Total Query
Crosstab Query #
Make-Table Query
Update Query
Append Query #
Delete Query "
" # # # #
! Design View #
Queries # #
# !
1. Create query in Design View
2. Create query by using wizard
! ! #
Tables !
Access # "
! Forms " Reports
44 Lector univ. drd. Mihai Gavot% - Baze de date
! # # # Design
" # ! # # Show Table
# #
# query-ul # Add ! #
# # # ! Windows
Explorer
# ! #
! " # d
Ctrl # # Date angaja%i "
Nomenclator studii " # #
# Close
# # " # # #
query # # # ! #
" # Relatioships
CREAREA !I UTILIZAREA INTEROG#RILOR 45
# " Field, Table, Sort,
Show, Criteria, or # mouse-ul drag & drop
# "
nume persoana Date angaja%i "
denumire studii Nomenclator studii !
#
# # View
# " # # # #
# # " #
!
# cod studii
# "#
# # #
#
!
#
#
#
# toolbar
! # "
#
46 Lector univ. drd. Mihai Gavot% - Baze de date
# # # #
# # # "
" # # " # #
# #
# descending # cod studii $
# # # ascending # nume
persoana # cod studii " nume persoan!
#
# "
# cod studii #
# ! Sort
# Show
check box # # # Show !
# Show
# # #
cod studii $
CREAREA !I UTILIZAREA INTEROG#RILOR 47
# # View toolbar #
# # #
# # # ! # # " #
" ! ! # " # # # #
! # ! # #
# ! ! ! #
# Nomenclator func%ii # Show Table
# # "
48 Lector univ. drd. Mihai Gavot% - Baze de date
# # Nomenclator func%ii drag & drop
# " #
# View " # # #
CREAREA !I UTILIZAREA INTEROG#RILOR 49
query Save Save as
query #
query, un form report
# # # # !
# Access # SQL # SQL # Access
SELECT !Date angajati".!nume persoana", !Nomenclator functii".!denumire functie",
!Nomenclator studii".!denumire studii", !Date angajati".!data angajarii"
FROM !Nomenclator functii" RIGHT JOIN (!Nomenclator studii" RIGHT JOIN !Date
angajati" ON !Nomenclator studii".!cod studii" = !Date angajati".!cod studii") ON
!Nomenclator functii".!cod functie" = !Date angajati".!cod functie"
ORDER BY !Nomenclator functii".!cod functie", !Date angajati".!nume persoana";
# # Access
# ! # # #
# #
# # " # #
Select # ! Access
6.1. INTEROG#RILE DE TIP SELECT
# Select # !
#
! " Relationships

o
o
o Show
o ! !
query "
SQL query Select Select
SQL
! # "
Criteria #
! # # # !
Build !
# ! # # #
Sort
# " # # # "
# !
50 Lector univ. drd. Mihai Gavot% - Baze de date
# ! $ Criteria cod studii #
! # # " " # !
# cod studii $ #
# #
Lucrul cu func$ia like
" # #
# # # " cod studii
" !
! ! like " # like *Ion*
" orice " ! " "
! like *Ion*
" " Ion " " # "
Ion
CREAREA !I UTILIZAREA INTEROG#RILOR 51
#
#
# " # # ! # like
Criteria like Ion* # " !
# like like *ion #
like *ion
52 Lector univ. drd. Mihai Gavot% - Baze de date
Concatenarea &irurilor de caractere
Access " &
# # " $ " #
$ $ !
! like "
Dialogurile parametrizate
# ! ! # # "
! # #
#
! Criteria nume persoana
! # " # # #
# " !
" #
Introduce%i caracterele incluse in nume:
Criteria
"Introduce%i caracterele incluse in nume:%
like # #
! nume persoana
Like "*" & "Introduce%i caracterele incluse n nume:% & "*"
! #
CREAREA !I UTILIZAREA INTEROG#RILOR 53
# #
Lucrul cu func$ia between
# " # # ! !
! " # " Nomenclatorul
categoriilor de func%ii !
# # # #
cod categorie ! "
"
!
! " #
! Between
54 Lector univ. drd. Mihai Gavot% - Baze de date
#
6.2. INTEROG#RILE DE TIP TOTALS
#!
# "
#
Sum
Count # # #
Avg #
StDev #
Var #
Min Max # #
Last First #
# # # query Select
CREAREA !I UTILIZAREA INTEROG#RILOR 55
query Select query Totals
#
# #
# ! Total #
! Group By #
# ! # !
# ! # # Group By #
! " # ount
cod persoana # # #
Total mouse combo box
# ! Count:
56 Lector univ. drd. Mihai Gavot% - Baze de date
cod persoana Total # Group By !
Count
query
SQL Access #
SELECT !Nomenclatorul categoriilor de functii".!denumire categorie functie", Count(!Date
angajati".!cod persoana") AS !CountOfcod persoana"
FROM !Nomenclatorul categoriilor de functii" RIGHT JOIN (!Nomenclator functii" RIGHT
JOIN (!Nomenclator studii" RIGHT JOIN !Date angajati" ON !Nomenclator studii".!cod
studii" = !Date angajati".!cod studii") ON !Nomenclator functii".!cod functie" = !Date
angajati".!cod functie") ON !Nomenclatorul categoriilor de functii".!cod categorie functie" =
!Nomenclator functii".!cod categorie functie"
GROUP BY !Nomenclatorul categoriilor de functii".!cod categorie functie", !Nomenclatorul
categoriilor de functii".!denumire categorie functie";
# # " # Totals
! ! " ! !
# # Criteria
cod studii
! >0
#
"
# #
cod studii=0
CREAREA !I UTILIZAREA INTEROG#RILOR 57
# #
6.3. INTEROG#RILE DE TIP UPDATE
#
update #
# " data angajare
Date angajati $$ $ $$ $
# # query Update # # #
# data angajare
# # # " # "
! # #
!# # # " query Update
# query New Create query in Design view
# Date angajati " # #
Select Update # # # !
58 Lector univ. drd. Mihai Gavot% - Baze de date
# ! Update Query # # ! Criteria cod studii=2
" $$ $ Update To #
query #
# # Update # #
Run # ! toolbar # #
#
# # # # # # #
# # # # # # Access #
Date angajati # $$ # rows !
Yes # query
CREAREA !I UTILIZAREA INTEROG#RILOR 59
6.4. INTEROG#RILE DE TIP MAKE-TABLE
# # "
# # # Tabela nou! cu datele
angaja%ilor # # " ! Date angaja%i #
# Update # # # ! Make-Table
Query
# ! # #
drag & drop
!
#
# #
Run toolbar
60 Lector univ. drd. Mihai Gavot% - Baze de date
# ! ! Table
6.5. INTEROG#RILE DE TIP DELETE
# " " # #
" query Delete "
query Select query
Delete # ! Delete Query # #
# # # " # Date angaja%i
# where cod studii=#
CREAREA !I UTILIZAREA INTEROG#RILOR 61
# Delete " # where cod
studii=#
! " " # Run
6.6. INTEROG#RILE DE TIP APPEND
# # # " #
append # # # query Append
# # " # #
# # # Tabela nou! cu datele angaja%ilor " #
# # # Date angaja%i "
#
$
62 Lector univ. drd. Mihai Gavot% - Baze de date
6.7. INTEROG#RILE DE TIP CROSSTAB
Crearea "i utilizarea interog!rilor !
! # Access Create query in Design view "
# # " ! #
" #
# # # wizards uery
Crosstab #
crosstab # " # #
Crosstab ! ! # !
! " # ! #
CREAREA !I UTILIZAREA INTEROG#RILOR 63
rows categoriile de func%ii ! Nomenclatorului categoriilor de
func%ii, columns tipurile de studii !
num!rul de persoane count ! !
"
# # query #
Select ! cod persoana denumire categorie func%ie "
denumire studii query
query #
New
64 Lector univ. drd. Mihai Gavot% - Baze de date
# # New # #
query
" ! ! #
query " Query#
CREAREA !I UTILIZAREA INTEROG#RILOR 65
!

66 Lector univ. drd. Mihai Gavot% - Baze de date
! # #
query Crosstab
CREAREA !I UTILIZAREA INTEROG#RILOR 67
# # Finish #
query # wizard
SQL Access #
! SQL View
TRANSFORM Count(Query1.!cod persoana") AS !CountOfcod persoana"
SELECT Query1.!denumire categorie functie", Count(Query1.!cod persoana") AS !Total Of
cod persoana"
FROM Query1
GROUP BY Query1.!denumire categorie functie"
PIVOT Query1.!denumire studii";
7. FORMULARE !I RAPOARTE
7.1. FORMULARE (FORMS)
# #
# # !# " #
# Datasheet View
" # #
! " "
! #
! Access
! " " "
# ! !
" # #
# !
Datasheet View #
#
# # # # # #
"
# #
#
!
! "
# #
# # "
#
!
! Access " # #
# " #
switchboard " ! " #
!
# ! !
! " #
!
FORMULARE !I RAPOARTE 69
# ! #
" #
! Access
#
# # # # # #!
# wizard " # design
70 Lector univ. drd. Mihai Gavot% - Baze de date
forms # #
# !
# #
Open " !
Design #
New "
Delete "

! # # # #
Access # # !# # Microsoft "
# ! # # !
"
mouse # !
FORMULARE !I RAPOARTE 71
7.1.1. Crearea formularelor cu ajutorul vr%jitorilor (wizards)
# # " #
! # # # New
# #
# #
Design View Form Wizard,
# ! #! "
Design View # # # #
Access
Form Wizard # #

# ! # # Choose the
table or query where # !
# !
Access !
# # #
AutoForm: Columnar #
#
# " #
#
72 Lector univ. drd. Mihai Gavot% - Baze de date
AutoForm: Tabular #
# "
# " #
!
AutoForm: Datasheet #
# "
# "
Excel
Chart Wizard # #
# # #
Pivot Table Wizard - #
# # Excel

# Form Wizard
! " "
#.
#
# "
> >> # # #
# " # !#
< << # # Next
#

FORMULARE !I RAPOARTE 73
2. #
# New Form
# " # Next #
3. "
# mouse
74 Lector univ. drd. Mihai Gavot% - Baze de date
4.
Access !
#
# Finish
# #
"
# Cancel
# # Back # Next
# Finish
# Date Angaja%i #
#
#
#
FORMULARE !I RAPOARTE 75
# # # # #
# # # # " #
# ! #
# # !
# " # #
# # # ! # #
" # # #
! # #
7.1.2. Crearea formularelor n mod proiectare direct%
" #
# ! " # # #
# # #
# ! New Design View OK # !
#
!
$ bara de titlu ! "
"
selectorul formei " #!
riglele de deplasare pe vertical! "i pe orizontal!
# # # !
$
76 Lector univ. drd. Mihai Gavot% - Baze de date
sec%iunea Details
sec%iunea extern!
fereastra cu instrumente de proiectare (Toolbox) # #
# #
# # #
# # # # " #
# # View Toolbox
Details " !
# " " "
# # #
View Form Header/Footer View Page Header/Footer
"
#
! #
" # ! ! # # # "#
# # #
! ! ! Details
# # #
mouse # " mouse # !
# ! drag & drop "
mouse !
mouse
# ! Page Footer
FORMULARE !I RAPOARTE 77
" ! #!
# !
" #
#!
# mouse !
" ! Properties
# #
mouse ! #
# mouse !
! # " !
Properties
# View Properties # mouse
! #
#! "
Format #! # #!
"
Data #!
#
Event #
Other # #!
All # #!
#! Form
# #
# #
# #
! #
# # ()
#!
! !
! # mouse
# #
# !
#!
# "
78 Lector univ. drd. Mihai Gavot% - Baze de date
! #!
Caption # # #
" #

Default View # #

o " # #
o " # #
o Excel
Navigation Buttons # Yes " No # #
"
Auto Center No ! # Yes # "
# !
Picture " ! # " #

Picture Type # " "
# # # "

Width # #! mouse
# " #
Record Source #

On Open # ! # "
On Close # ! # ;
On Current # ! #

On Delete # ! # "
#
Modal # # # # #
#
! #
# " ! " ! #
!# #
"
# design
design form view " #
# # # #!
# # "
#
FORMULARE !I RAPOARTE 79
toolbox # # # #
! View Toolbox
Toolbox #
# mouse
# mouse # #
# " #! #
# mouse "
! " # mouse
# drag & drop #
# #
mouse
Pointer # " #
" mouse # # #
Vr#jitor izard
# # #
# # !
Etichet# label # #
!
Caset# de text text box # # " # "
#
! # # !
# " #
Grup de op"iuni option group # #
" !

Buton comutator Toggle button # # #
# Yes No " #
Buton de op"iune option button
# !
! # # ! !
80 Lector univ. drd. Mihai Gavot% - Baze de date
Caset# de validare check box
List# derulant# combo box ! #
" #
# #
List# list box ! # #
Buton de comand# command button #
# # #
# #
! #
# On Click. !
#! # ) #
On Click, Build event
Imagine image " "
bmp .ico .gif " # "
Access

Obiect cadru nelegat unbound object frame "
# !
Word, Excel, Paint, Sound Recorder
Obiect cadru legat bound object frame "
OLE Object

Delimitator de pagin# page break
" ! # # #
# # #
Control de tip tab tab control
# #
# " #
! !
Subformular subform "
#
Linie line
" # !
Dreptunghi rectangle
"
Alte controale more controls "
Access
FORMULARE !I RAPOARTE 81
# # # # clic mouse
# # # !
# # Shift mouse #
! Shift # # " mouse
#!
" Formular form
#! " ! #!
#!
#!
#! #
Caption ! " # #
" # !
Visible # " !
Left " # !
Top " # !
Width " #!
Height " # !
Back Style # # "
Back Color "
Border Style #
Border Color #
Border Width #
Fore Color # "
Font Name
"
Font Size "
Picture # " " "
" #
Text Align # "
# #
#! # #
Control Source #
# # expresion builder
# =
Input Mask #
#
Default Value # # !
Validation Rule # ! # #
Enabled # #
Row Source # #
Row Source Type # #
#
82 Lector univ. drd. Mihai Gavot% - Baze de date
#! # # #
On Click mouse
On Got Focus #
! #
On Lost Focus # # #
! # # # #
Before Update " # #
After Update " # #
On Change " #
!
! ! Visual Basic for Applications
#!
Name #
#
Status Bar Text # " !
Control Tip Text ! " !
mouse # # # mouse

subform
! !
" # # " #
# ! #
# ! ! #
! !
#
#
# " # # !
# " # # #
# # #
# # ! #
# Date angaja%i " Deplas!ri angaja%i # Date
angaja%i ! ! #
#
# # cod persoana #
# # # # "
# " #
Date angaja%i
design " #
FORMULARE !I RAPOARTE 83
# # !
" # #
Deplas!ri angaja%i
# # # #
! cod persoana #
# # " # # # #
84 Lector univ. drd. Mihai Gavot% - Baze de date
" #
" # #! Link Master Field " Link Child Field
#!
! Form View #
" # # !
# ! # " # # #
# " ! #
#
#
$ design
#
drag&drop " #
# #! " #
#
# #
"
7.2. RAPOARTE (REPORTS)
! ! ! #
" !
Access
front-end !
" # "
Access # "
# # # %
# ! Design View
FORMULARE !I RAPOARTE 85
text box " labels
image !
# " # #
# # #
!
# " # " #
#!
Create report in Design View
Create report by using wizard
# # "
! " # " #!
Design View wizard
#! "
# # " Toolbox !
# ! Create report in Design View
86 Lector univ. drd. Mihai Gavot% - Baze de date
#
! # " # ! Report
Header # # Page
Header Detail # # Page Footer #
" Report Footer
# # #
# # #
# # " #
# " # # "
o
o #
o #
! Create report by using wizard
#
#.











FORMULARE !I RAPOARTE 87

2.
3.
4.

88 Lector univ. drd. Mihai Gavot% - Baze de date
5.
6.
# wizard !
FORMULARE !I RAPOARTE 89
# wizard Design
#
Date angajati Text box ! Report
Header
! Page Header
! ! Detail
" # # Page Page Footer
# # Access Sorting and Grouping #
# ! "
# # # " "
! adresa " telefonul # data angaj!rii
#
90 Lector univ. drd. Mihai Gavot% - Baze de date
! # #
Design View # # !
data angajarii Header " # ascending # #
mouse !
! Sorting and Grouping # #
data angaj!rii # Ascending
# " Yes Group Header
Yes " ! Group Footer # #
# " #
! " " #
#
!
FORMULARE !I RAPOARTE 91
# ! ! data angajarii Header
drag & drop data angaj!rii
# ! " drag & drop, # Text box
data angaj!rii Detail
" data angaj!rii " bold) " Medium Date #
#! "
! Properties #!
92 Lector univ. drd. Mihai Gavot% - Baze de date
# " #
Toolbar. " # # #
8. LUCRUL CU HIPERLEG#TURI
!I GENERAREA PAGINILOR WEB
8.1. SCURT# INTRODUCERE
" ! "
! !
# # " "
! ! # #
#
" " !
# !
# ! ! !# #
#! ! #
# ! # # # !
" #! ! #
!
! # ! # # " #
" !# ! # #
! ! # !
! ! # ! #
! ! ! !
# " ! # "
!
# " # ! # !
! ! # #
$ $ #
" !# # " !
$ " ! # #
!
" # " # # #! !
browser
# ! "
! " "
" ! " ! # # "
# " #
# " #
# !# Windows " #
# #! ! " #! "
#
# ! !
#!
! # " # # ! #!
94 Lector univ. drd. Mihai Gavot% - Baze de date
!# " ! !
# ! "
# # # ! # !
#
" e-mail "
# ! #
!


8.2. WORLD WIDE WEB

World Wide Web " !
#
" " #
$ #
# $
National Centre for Supercomputing Application browser
# #
! ! #
#
browser "
" "
Browser " !
# !# point-and-clic #
# # # #
# # # # #
# # "
site # ! " #
Site # "
HyperText Markup Language
Notepad # "
Frontpage, Dreamweaver " "
! Word, Access, PowerPoint " Outlook
"
" "
" #
" # #
" " !
#
LUCRUL CU HIPERLEG#TURI !I GENERAREA PAGINILOR WEB 95
8.3. TEHNOLOGII !I PRODUSE PROGRAM TIP CLIENT INTERNET
# " "
# " # #! " " #
#
Extensible Markup Language #
# ! Access "
Data Access Pages " ActiveX Data
Objects
Dynamic #
" # " !
browser
Data Access Pages
# " Access
Active Server Pages ! # browser
"
VBScript Visual Basic Scripting Edition #
! Visual Basic for Applications
Access-ului " #! MS Offic
#!
Internet Explorer browser
# #! Access
NetMeeting ! #
" ! " !
Windows Media player " "
! live " "
Frontpage " ! site
# Database Connectivity "
Personal Web Server Windows " Windows
$ " ! !
# MS-Office
! # #! !# # e-mail Outlook
Word # " Access
hyperlink " ! "
toolbar ! #! #
#
# MS-Office "
MS-Office #! "
96 Lector univ. drd. Mihai Gavot% - Baze de date
# " Access
# #! #
" # "
"
8.4. TIPUL DE DATE HYPERLINK
# hyperlink link
# # # #
" # # # # " site site
" # "
# # " e-mail
" # ! # #
#
# ! # site
# #!
# # # ! # #
! e-mail "
# " #
Date angaja%i # # adresa e-mail " adresa web /
CV # # hyperlink
Date angaja%i adresa
# # Date angaja%i #
# # # #
Datasheet View
LUCRUL CU HIPERLEG#TURI !I GENERAREA PAGINILOR WEB 97
# # adresa e-mail " adresa web / CV
# hyperlink
mouse !
hyperlink, Access ! Hyperlink #
# # #! Edit Hyperlink , Open, Open in New Window,
Copy Hyperlink, Add to Favorites, Display Text, Remove Hyperlink
98 Lector univ. drd. Mihai Gavot% - Baze de date
Edit Hyperlink # #
# #
#
e-mail
" # # Subject e-mail
# Screen Tip # #
#
" # # #
mouse-ului # # #
# " adresa web / CV
e-mail !
LUCRUL CU HIPERLEG#TURI !I GENERAREA PAGINILOR WEB 99
# # # # # #
# ! File, Web Page " Bookmark #
" # # # File
"
Date angaja%i " CV Dan Vasilescu.doc # "
" .doc .html ! # # !
ancor! " bookmark " Word
"
# # # # #
# ! " CV Dan Vasilescu.doc
# " " # # Studii
#
CV Dan Vasilescu.doc#Studii
# " !
! hyperlink
100 Lector univ. drd. Mihai Gavot% - Baze de date
8.5. GENERAREA PAGINILOR WEB
# # # ! Access
Pages
! Pages # !
Create data access pages in Design view
Design view
Create data access pages by using wizard
#
Edit Web page that already exists
" Access !
! ! #
"
# Create data access pages by using wizard
" # !
# !
!
# # " # # # #
!# # Date angaja%i
nume persoana, adresa, adresa e-mail, adresa web / CV, data angaj!rii, telefon "
observa%ii
LUCRUL CU HIPERLEG#TURI !I GENERAREA PAGINILOR WEB 101
# # ! Create data access pages by using
wizard # # # Date
angaja%i
# # Next # !
102 Lector univ. drd. Mihai Gavot% - Baze de date
# #
#
" # #
# # Next #
LUCRUL CU HIPERLEG#TURI !I GENERAREA PAGINILOR WEB 103
# # Finish " #
Design View # # #
# # # #
# # wizard
! View !
# # Date_angaja%i.htm "
browser Internet Explorer
104 Lector univ. drd. Mihai Gavot% - Baze de date
# "
Date_angaja%i.htm Internet Explorer # # # #
Access
! # " # # Internet Explorer
" # # Internet Explorer
!# # ! #
# !
Personal Web Server " moresoft " # "
Date_angajati.htm folder # #
browser # Internet Explorer
http://moresoft/Date_angajati.htm
9. ADMINISTRAREA !I ASIGURAREA SECURIT#"II BAZELOR DE DATE
ACCESS
# #!
! ! " # #
# ! #!
#!
#
Access #
# !# #! " #!
" ! "
#
#

# " # !
# !


#!
" #! Access !
#!


# !
"
"
#! Access #
9.1. COMPACTAREA !I REPARAREA DATELOR
" Access #
! " "
Access "
! # " #
106 Lector univ. drd. Mihai Gavot% - Baze de date
# # #! $
" ! Access
# ! " # "
# # # #
#
! #
#! #!
Access #
# # # " #
#! " "
#
" !
Compact and Repair Database # Access Tools Database
Utilities


9.2. CREAREA COPIILOR DE SIGURAN"#
# " " !#
# !#
# # # # # #
ADMINISTRAREA !I ASIGURAREA SECURIT#"II BAZELOR DE DATE ACCESS 107
# "
# !#
#
! !
! ! ! !
#
#
9.3. SECURITATEA BAZELOR DE DATE
"
! # ! ! #
" ! # # !
!
# ! #
# # #
! "
# # ! # ! #! "
# # (parol! utilizator)
!
! ! ! " ! ! #
! "
! # # "
9.3.1. Principiile securit%$ii bazelor de date n re$ele locale
# #
! "
! !
! ! !
! # "
# ! # !
! #
!
!
# #
108 Lector univ. drd. Mihai Gavot% - Baze de date
9.3.2. Protejarea prin parol% la nivelul bazei de date
# # #! Access
# # # # # #
# #
#
#
# # Exclusiv "
Shared Access " # #
# Exclusiv !
# #
# #
Open Shared Acces)
Open Read Only
Open Exclusive
Open Exclusive Read Only
# Exclusiv #
Access " # File ! Open
# Open Access
ADMINISTRAREA !I ASIGURAREA SECURIT#"II BAZELOR DE DATE ACCESS 109
Set Database Password # #
# Exclusiv Open Exclusive " ! Security
Tools
! Set Database Password # #
#
# #
# #
9.3.3. Criptarea bazei de date
# # # "
! " #
! # # # # #
110 Lector univ. drd. Mihai Gavot% - Baze de date
Access
Tools " Security ! Encrypt/Decrypt Database
9.3.4. Securitatea la nivelul grupurilor &i utilizatorilor
# # #
Admins
" ! Users
"
"
Guests # "
# # "
! #
" #
" !
" Security
# # !
User and Group Permissions
User and Group Accounts
User - Level Security Wizard
ADMINISTRAREA !I ASIGURAREA SECURIT#"II BAZELOR DE DATE ACCESS 111
! ! "
System.mdw folder #Office MS-Office
! Admin "
# " System.mdw #
folder # "
WRKGADM.EXE # # # # ! "
" folder #Office # shortcut Workgroup Administrator Administrator
grup de lucru MS Access MS-Office # Shortcut
# WRKGADM.EXE
# # "
#
# # Browse # foldere "
" " #
! #
112 Lector univ. drd. Mihai Gavot% - Baze de date
# # " Access
#
# ! Admin Security
# ! User and Group Accounts " #
# # ! # #
Admins " Users
#
" #
Admin
" Groups
New " Delete "
ADMINISTRAREA !I ASIGURAREA SECURIT#"II BAZELOR DE DATE ACCESS 113
# # Change Logon Password
"
Old Password
New Password # " Verify
Old Password #
! Admin #
Open / Run " # !
Read Design "
Modify Design #
Administer #
Read Data "
Update Data #
Insert Data #
Delete Data "
" "
Tools Security
# ! User and Group Accounts "
#
ANEXA 1 STRUCTURA TABELELOR UTILIZATE
N EXEMPLE. RELA"IILE DINTRE TABELE
Date angajati:
Nume cmp Tip date Memorie rezervat!


Deplasari angajati:
Nume cmp Tip date Memorie rezervat!
$
Nomenclator functii:
Nume cmp Tip date Memorie rezervat!
Nomenclatorul categoriilor de functii:
Nume cmp Tip date Memorie rezervat!
Nomenclator studii:
Nume cmp Tip date Memorie rezervat!
ANEXA 1 STRUCTURA TABELELOR UTILIZATE N EXEMPLE. RELA"IILE DINTRE TABELE 115
Rela%iile dintre tabele:
ANEXA 2 PROBLEME PROPUSE
Reguli de normalizare
Problema #
# " ! !
" # !
# !
! # !
# ! $
!
# ! # " ! #
"
! " !
Tabele
Problema #
! Date angaja%i # anexei # # ! foto
OLE object " !
! # ! "
!
Problema 2
! Date angaja%i Datasheet View #
! # # " # #
# # ! ! #
! " " #
! # "
#
# ! Find
! filter
ANEXA 2 PROBLEME PROPUSE 117
! Design " Datasheet View
! #! adresa e-mail " adresa web / CV
! adresa
data angaj!rii ! # Medium Date
Problema 3
# ! Date angaja% cod stare
# #
! # # # Nomenclator st!ri prezen%! # ! #
# ! Relationships ! #
Problema 4
! # # # # #
! # # #
! Date angaja%i " Excel "
Problema 5
Clipboard " ! !
# # Access Word
Problema 6
wizard ! # students Access
Interog%ri
Problema #
" ! # # !
! " # # # !
Problema 2
! # " " !
#
Problema 3
! # " !
118 Lector univ. drd. Mihai Gavot% - Baze de date
Problema 4
! # # # # #
! ! # !
! # !
! "
! " !
! "
Problema 5
" ! # # # " # #
# # # " # #
Problema 6

! query # " # #
Date angaja%i
Problema 7

! query # # #
! # ! ! # !
! !
Problema 8
! query Word
Excel
Problema 9
" ! # $ $ $
Formulare
Problema #
wizard ! # #
! "
Problema 2
Chart Wizard ! # # # !
ANEXA 2 PROBLEME PROPUSE 119
Problema 3
! Design wizard
Problema 4
!
Design
Problema 5
! # ! # # "
Rapoarte
Problema #
wizard ! Date angaja%i #
"
Problema 2
! # !
! "
Problema 3
! # ! ! "
Problema 4
Label Wizard ! # " "
!
Problema 5
Chart Wizard ! # # ! !
! !
120 Lector univ. drd. Mihai Gavot% - Baze de date
Pagini internet
Problema #
! # ! # query # "
# ! ! ! "
Problema 2
! # # # #
! !# browser Internet Explorer
Securitatea &i administrarea bazelor de date
Problema #
! # # !
Problema 2
! ! # !
!
Problema 3
! " !
ANEXA 3 DIC"IONAR DE TERMENI
Actualizare # "
"

Administrator de sistem # # # !
! # !
hardware " software #
# " # # "
" #

Administrator al bazei de date # # #
"
" !
" !
hardware software "
" # #

Aplica%ie " ! # " # software
! "
# ! DOS ! Windows
! UNIX ! # # !
! # ! exe

Bar! cu instrumente Toolbar # # #
#
" ! !
!

Bar! de derulare (scroll bar # # # #
#
# #

Bar! de titlu # #
"
"

Baz! de date database #
# # Access
# " mdb # #
# " # Microsoft Jet Engine. # " #
"
122 Lector univ. drd. Mihai Gavot% - Baze de date
Baz! de date distribuit! # #
!# " # !
# # #

Baz! de date rela%ional! # !
! # #
! #

Buton de op%iune option button
# ! # !
!
# # #

Buton de comand! command button #
# " # mouse " #

Cmp field # # # !
!

Cheie extern! sau str!in! foreign key #
# # # ! #
# # ! # # #
# # # # # # "
# # #

Cheie primar! sau principal! primary key #
# # # ! #
# # # #
# " # # # # ! #
" #

Client-server ! # #
# ! ! #
! " ! # !
! #
! # " # " " #

Criteriu ! # # # #
# !

Definirea datelor
" !

Diferen%! ! # # # #
# # ! #
# #

ANEXA 3 DIC"IONAR DE TERMENI 123

Entitate de date # #
# #! #
# #

Etichet! label " # # # #
!

Eveniment event ! #
Access " # ! # " mouse
# #!
!
#

Expresie # # #
! " !

Fereastra de prezentare a bazei de date database window #
# Access #
" # ! "
#

Fereastr! de propriet!%i properties window # #
design !
#! "

Fereastr! de dialog dialog window # # !
!
" # #
!

Foaie de calcul datasheet ! "
Excel
# # # "
! # # #

Formular form Access # # #
! "
#

Fi"ier bitmap " .bmp ! #

Font "
! "
!

124 Lector univ. drd. Mihai Gavot% - Baze de date
Fundal sau fond background ! #
#

Forme normale
! # #
# # #
Front-end ! # # #
# " !
! # !
Visual Basic for Applications C,C++, Java, PHP, PERL

Func%ie function # #
# ! Access (built-in functions) !
# " !
Visual Basic for Applications Access

Gril! grid ! " ! "
" #
HTML " "
browser

Identificator

Implicit default ! #!
#! ! #
" #! #
#

Index # " #
# ! #! Access #
# # # " #

Integritatea datelor #! !# #
! # ! ! # #
!
" ! #! ! #
# # #!

Integritate referen%ial! #
# ! ! #
# # # # #
# #
! #

Interogare query #
!
ANEXA 3 DIC"IONAR DE TERMENI 125

Access # # Find
# query
Interogare de selectare Select Query #
! # " " #
Interogare de totalizare Total Query #
#
Interogare de actualizare Update Query #
Interogare de ad!ugare Append Query # # "
Interogare de "tergere Delete Query " #
# "
!
Interogare de creare tabele Make-Table Query #
# # #
Interogare de creare a tablelor cu mai multe intr!ri Crosstab Query
# # " ! "
" # # !

Intersec%ie ! # # #
# !

Internet ! # # !
! #
" software ! #
! Web
Intranet ! !
# #
nregistrare record # #
!

nregistrare curent! # # "
# #
# # # #
" #

List! list box ! #
mouse
126 Lector univ. drd. Mihai Gavot% - Baze de date
List! derulant! combo box Access # #
# #
" mouse
# # " #
# # ! !
Marcaj de redimensionare !
# # " #
drag & drop # # # " #
Meniu menu ! # !
! # " !
Access
!
Modal!
#
Matrice de culori ! " #
" # !
Multiutilizator multiuser ! ! #
" " # !
Normalizare #" #
#
# #

Nul! Null Null
# " "
"
Obiect ! # # Access #
# " ! !
# " #
! #! " !
" # ! # ! # #
OLE Object Linking and Embedded # Microsoft !
software
! # # " #
# # #
Operand ! #
ANEXA 3 DIC"IONAR DE TERMENI 127

Operator # ! #
# " ! "
! # " !
Operatori logici And Or " Not ! #
# True False
Operatori rela%ionali
# # True False
Paleta de culori ! Access #
# #!
Panou de comand! switchboard !
! ! ! # "
" ! !
Pictogram! icon # #
#
Procedur! ! Visual Basic
for Applications ! #
# Sub " End Sub
Procedur! eveniment event procedure # #
# #

Produs cartezian # !
# " #
# ! #
#
Proiec%ie # # # # #
! # #
Proprietarul bazei de date database owner !
! "
Proprietate # "
#! # ! # #! #
#
# "
128 Lector univ. drd. Mihai Gavot% - Baze de date
Raport report Access # #
#!
Rnd row # #
Rela%ie # # " #
# " # Access #
! ! !
Re%ea local! ! # "
# software !
! ! !#
# !
Selec%ie " # # Access dat
mouse #
"
" # #
Server ! ! !
# ! # #
"
# ! !
SQL Structured Query Language # !
!
" #
Sta%ie de lucru ! # !
Subformular sau subraport !
Submeniu ! # !
!
#
Sursa de date a nregistr!rilor record source #
# # #!

Sursa de date a unui control control source #
" # " # # # #!
#
ANEXA 3 DIC"IONAR DE TERMENI 129

Tabel! table
# # # # "
Tabel! ata"at! link table # ! # # #
" # # " #
" ! "
Tip de date data type # !
# # #
Validare !
# !
" " !
VBA Visual Basic for Applications
Microsoft. ! Access #
"
# "
Vizualizare View #
# design
datasheet, form, print preview
Vr!jitor wizard ! Access
" #
#
BIBLIOGRAFIE
$ A Relational Model of Data for Large Shared Data Banks
$ $ Bases de done et systmes relationnels aux systmes Objects.
$ Visual Studio 6. "
$ Programarea Web. "
$ Utilizare Access 95 "
Totul despre Microsoft Access 2000. "
Utilizare Microsoft Access 2000. "
Visual Basic 6 - baze de date. "
Documenta"ia Microsoft Windows.
Documenta"ia Microsoft Office 2000.
Documenta"ia Microsoft ACCESS.
$ Microsoft Access 2000.

S-ar putea să vă placă și