Вы находитесь на странице: 1из 782

...........................................................................................................................................

12
................................................................................................................................13
..........................................................................................................................................14
Access.....................................................................14
Access................................................................................................17
Access Excel?.......................................................................................................................17
Access SQL Server?.............................................................................................................18
Access 2007........................................................................................19
...........................................................................................................................................19
.......................................................................22
Office'................................................................................................................................25
..........................................................................26
Access 2007..........................................................................27
.................................................................................................................................29
....................................................................................................................29
.............................................................................................................30
..................................................................................................................32
.........................................................................................................33
......................................................................................................................................33
Web- MissingManuals.com
......................................................................................................................................................
33
Safari Enabled.................................................................................................................................33

I. ...................................................................34
1. ................................................................................35
Access....................................................................................................35
.......................................................................................................................36

......................................................................................................................................................
38

......................................................................................................................................................
43

.......................................................................................................44
..........................................................................................................48
Access............................................................................................53
.......................................................................................................53
....................................................................55
..............................................................................................................................56
...............................................................................58
, Access..........................................................59
.............................................................................................................60
......................................................................................................................61
....................................................................62
........................................................................................................64
2. ...................................................................................66
..................................................................................................................................66
................................................................................................................................67
.....................................................................................69
...........................................................................71
Access......................................................................................................................71
.
......................................................................................................................................................
74
MEMO
......................................................................................................................................................7
8

.....................................................................................................................................................
80

......................................................................................................................................................
83
/
......................................................................................................................................................
84
...................................................................................................................................8
8
.................................................................................................................................8
9
....................................................................................................................................90
.......................................................................................................................................9
3

.........................................................................................................................................................
96
...
97

.........................................................................................................................................................
98
1. ...................................................................98
2. .......................................................................................99
3. ......................................................................100
4. .......................................................................100
5. ..................................................................102
2

6. ............................................................................................103
3. : , ,
.....................................................................................................104
............................................................................................................104
............................................................................................105
........................................................................................................106

..................................................................................107
...................................................................................................................109
............................................................................................................110
..........................................................................................................111
...............................................................................................................................112
..............................................................................................................................116
.........................................................................................................................................120
.............................................................................123
.............................................................................................................123
................................................................................................................................128
.............................................................................................................129
................................................................................................................131
...................................................................................132
...................................................................................................134
4.
.....................................................................................................................................................
136
.................................................................................................................136
..................................................................................................137
............................................................................................139
.........................................141
..................................................................................................................................145
.....................................................................................................147
...................................................................................................151
..................................................................154
..................................................................................154
...........................................................................................156
..........................................................................160
..................................................................................................................................162
, ........................................163
......................................................166
5.
........................................................................................................................................................
168

........................................................................................................................................................
168
........................................................169
: .................................................................171
(ID)..............................................................................171
" ".................................................................................172

........................................................................................................................................................
173
..........................................................................................................174
.............................................................................................................179
................................................................................................179
............................................................................................................183

....................................................................................................................................................
186
4

.........................................................................................................190
"--"...................................................................................................191
"--"............................................................................................192
.............................................................................................197
.................................................................................................................197
................................................................................................202

II. ....................................206
6. , ..........................................................................................207
..................................................................................................207
.......................................................................................................................208
.........................................................................................209
...................................................220
SQL................................................................................................................................224
.................................................................................................229
7. , ................................................................241
.......................................................................................................................241
............................................................................................242
............................................................245
...................................................................................247

........................................................................................................................................................
248
...............................................................................................................249
..........................................................................................................250
............................................................................................................254
...........................................................................255
..................................................................................................................256
....................................................................................................259
....................................................261

........................................................................................................................................................
262
.............................................................................................265
...........................................................................................267
.....................................................................................................................270
8. , .......................................................................................272
...........................................................................................................272
( )...................................................275
.........................................................................................275
..............................................................................................................276


.........................................................................................................................................................
280
( )...281
, 1................................................284
..................................................................................................................285
: , ..288
, ...................................................................................288
...........................................................................................290
9.
..........................................................................................................................292
..........................................................................................................292
............................................................................................296
................................................................297
.....................................................................................301
........................................................................................................................304
.....................................................................................................305
................................................................................................309
.....................................................................................................311
.......................................................................................314
................................................................................................314
...................................................................................................................318
...............................................................................................................319
.........................................................................................................321
III. ................................................................................................................323
10. .........................................................................................................324
....................................................................................................326
............................................................................................................326
......................................................................................................................329
.....................................................................................................330
..........................................................................................333
.............................................................................................................334
, ............................................................336
............................................................................................337
.............................................................................................................................339
"Save As PDF"................................................................342
............................................................................................................343
....................................................................345
.........................................................................................................350

....................................................................................353

......................................................................................................................................................
353
.......................................................................................................355
11. ................................................................................356
...............................................................................356

......................................................................................................................................................
357
...........................................................................................................359
...........................................................................................................360

......................................................................................................................................................
363
.........................................................................................366
.............................................................................................................368

.........................................................................................................................................................
371

.........................................................................................................................................................
375

......................................................................................................................................................
377

.........................................................................................................................................................
379

.........................................................................................................................................................
381

......................................................................................................................................................
382
,
......................................................................................................................................................
384

......................................................................................................................................................
390
IV.

........................................................................................................................................................
391
12.
........................................................................................................................................................
392

........................................................................................................................................................
392

7

......................................................................................................................................................
393

......................................................................................................................................................
399
...........................................................................................,
.............................................................405

......................................................................................................................................................
405

......................................................................................................................................................
405

......................................................................................................................................................
406

..................................................................409

........................................................................................................................................................
410

......................................................................................................................................................
410

......................................................................................................................................................
412

......................................................................................................................................................
414

.....................................................................................................................................................
416

.....................................................................................................................................................
418
......................................................................................420

........................................................................................................................................................
423

13.
..............................................................................................................................................................
426

..............................................................................................................................................................
426
;
...........................................................................................................................................................
428

...........................................................................................................................................................
429
:
...........................................................................................................................................................
433

...........................................................................................................................................................
436
:
...........................................................................................................................................................
439
:
...........................................................................................................................................................
445

..................................................................449
................................
..............................................................449

...........................................................................................................................................................
450

...........................................................................................................................................................
451

...........................................................................................................................................................
452

...........................................................................................................................................................
454

...........................................................................................................................................................
456

...........................................................................................................................................................
458

..............................................................................................................................................................
461

...........................................................................................................................................................
461

...........................................................................................................................................................
462

9

...........................................................................................................................................................
463
14.
..............................................................................................................................................................
465

..............................................................................................................................................................
465

...........................................................................................................................................................
466

...........................................................................................................................................................
470

...........................................................................................................................................................
472
Custom
...........................................................................................................................................................
473

...........................................................................................................................................................
475

..............................................................................................................................................................
475

...........................................................................................................................................................
476

...........................................................................................................................................................
480

...........................................................................................................................................................
481

...........................................................................................................................................................
483

..............................................................................................................................................................
488

...........................................................................................................................................................
488

...........................................................................................................................................................
492
V. ACCESS
..............................................................................................................................................................
496
15.
.............................................................................................................................................................
497
10


..............................................................................................................................................................
498

...........................................................................................................................................................
499

11


...........................................................................................................................................................
502

...........................................................................................................................................................
504

..............................................................................................................................................................
507

...........................................................................................................................................................
507
Access
...........................................................................................................................................................
509

...........................................................................................................................................................
511

...........................................................................................................................................................
513

..............................................................................................................................................................
515

...........................................................................................................................................................
515

...........................................................................................................................................................
516

...........................................................................................................................................................
517

..............................................................................................................................................................
520

...........................................................................................................................................................
520

...........................................................................................................................................................
522

...........................................................................................................................................................
524

..............................................................................................................................................................
524

...........................................................................................................................................................
524

...........................................................................................................................................................
527

...........................................................................................................................................................
529
12


...........................................................................................................................................................
531

..............................................................................................................................................................
532

...........................................................................................................................................................
532

...........................................................................................................................................................
534

...........................................................................................................................................................
536
16.
VISUAL BASIC
..............................................................................................................................................................
539
Visual Basic
..............................................................................................................................................................
539

...........................................................................................................................................................
541

...........................................................................................................................................................
543

..............................................................................................................................................................
546

...........................................................................................................................................................
546

...........................................................................................................................................................
549

...........................................................................................................................................................
551

..............................................................................................................................................................
553

...........................................................................................................................................................
554

...........................................................................................................................................................
558

...........................................................................................................................................................
560

..............................................................................................................................................................
561

13

...........................................................................................................................................................
562

...........................................................................................................................................................
567
17.
..............................................................................................................................................................
571
Visual Basic
..............................................................................................................................................................
571

...........................................................................................................................................................
571

14


...........................................................................................................................................................
.573

...........................................................................................................................................................
577

...........................................................................................................................................................
578
:
...........................................................................................................................................................
580

..............................................................................................................................................................
584

...........................................................................................................................................................
585

...........................................................................................................................................................
588

..............................................................................................................................................................
590
DoCmd
...........................................................................................................................................................
593
VB-
...........................................................................................................................................................
595
Visual Basic
..............................................................................................................................................................
597

...........................................................................................................................................................
598

...........................................................................................................................................................
601

...........................................................................................................................................................
602

...........................................................................................................................................................
606

...........................................................................................................................................................
610
VI. ACCESS
..............................................................................................................................................................
615
18.
......................................................................................................616

15

..............................................................................................................................................................
616
Access
............................................................................................................................................................
617

..............................................................................................................................................................
619

...........................................................................................................................................................
619

...........................................................................................................................................................
621

...........................................................................................................................................................
625

...........................................................................................................................................................
628

...........................................................................................................................................................
631
, Access
..................................................................................................633

..............................................................................................................................................................
635

...........................................................................................................................................................
635

...........................................................................................................................................................
637

..................................................................................................639

...........................................................................................................................................................
641

..............................................................................................................................................................
642

...........................................................................................................................................................
643

...........................................................................................................................................................
644

..............................................................................................................................................................
644

...........................................................................................................................................................
646

...........................................................................................................................................................
647
16

Windows
...........................................................................................................................................................
647

17

19.
..............................................................................................................................................................
650

..............................................................................................................................................................
650

...........................................................................................................................................................
650

...........................................................................................................................................................
651

..............................................................................................................................................................
652
Access
...........................................................................................................................................................
653
Excel Access
...........................................................................................................................................................
656

..............................................................................................................................................................
656

...........................................................................................................................................................
657

...........................................................................................................................................................
658
Excel
...........................................................................................................................................................
661

...........................................................................................................................................................
664

...........................................................................................................................................................
665

...........................................................................................................................................................
666

...........................................................................................................................................................
669
Access XML
..............................................................................................................................................................
671
XML ?
...........................................................................................................................................................
672
L
...........................................................................................................................................................
673
XML
...........................................................................................................................................................
674
18

XML Access
...........................................................................................................................................................
676
XML-
...........................................................................................................................................................
679
XML-
...........................................................................................................................................................
681

..............................................................................................................................................................
682

...........................................................................................................................................................
683

...........................................................................................................................................................
688

...........................................................................................................................................................
689

...........................................................................................................................................................
690
20. ACCESS SQL SERVER
..............................................................................................................................................................
692
SQLServer?
..............................................................................................................................................................
693
SQL Server
...........................................................................................................................................................
693
SQL Server
...........................................................................................................................................................
695
SQL Server 2005 Express
..............................................................................................................................................................
697
SQL Server Express
...........................................................................................................................................................
697
SQL Server
...........................................................................................................................................................
702
SQL Server
..............................................................................................................................................................
703

...........................................................................................................................................................
703

...........................................................................................................................................................
710
SQL Server
19

...........................................................................................................................................................
711
SQL Server
..............................................................................................................................................................
712

...........................................................................................................................................................
712

...........................................................................................................................................................
719

...........................................................................................................................................................
720

20

21. ACCESS SHAREPOINT


..............................................................................................................................................................
724
SharePoint
..............................................................................................................................................................
725
SharePoint
............................................................................................................................................................
727
SharePoint
..............................................................................................................................................................
729

............................................................................................................................................................
729

............................................................................................................................................................
733
SharePoint Access
..............................................................................................................................................................
735

............................................................................................................................................................
737
SharePoint
............................................................................................................................................................
743
Access
............................................................................................................................................................
745
SharePoint
............................................................................................................................................................
748
SharePoint Access
............................................................................................................................................................
751

............................................................................................................................................................
752
.
..............................................................................................................................................................
755

..............................................................................................................................................................
755

..............................................................................................................................................................
757

..............................................................................................................................................................
759

21

..............................................................................................................................................................
761

22

0
- (Matthew MacDonald) .
"Excel 2007: The Missing Manual", "Creating Web Sites: The Missing Manual"
Microsoft .NET Framework. ,
.


, Access,
(.. ). , ,
,
Office (
(Jensen Harris) (Erik Rucker), , ,
( (Peter Meyers), (Sarah Milstein),
(Brian Sawyer), (Juel Bortolussi) (Michael
Schmalz)), , , ( ).
, ,
.
(
). ,
; (Faria),
; (Hope (Nora), (Razia), (Paul) (Hamid)),
, ,
.
!


.
Rolodex, , , ,
( ) .
,
, , ,
.
Access Microsoft. Access
(
). , ,
. ,
,
(Aunt Ethel's Discount Button Boutique).
, , ,

. Access
, ,
.
,
Access 2007,
, Microsoft.
Access 2007 , ,
.
. , Access,
.

Access
. Web- " " Web-.
,
.
,
Access . , ,
Access:
, CD-, , -,
;

, ,
;
, , , ,
;
;
, .
Access , , . :
, .

. 1. ,
( ), ,
. , , ,
Access. ( )
, ,

,
10000 . ,
1987 . , - (Aquaman), ,
" ".
. Access
.
Access -
. ,
. Access
( .
1).
.

,
.
. , ,
Access. ,
, Google,
, Access.
. -
, ,
. ,
, (
).
, .
. ,
, ,
"". ,
,
.
. .
, , ,
, , , ?
Access .
, ,
, .
.
, Microsoft Word
. ,
.
Access
. 18 .

. Access
, (mail merge).
,
Word, . ,
, 19.

.

Access
, Access .
.
, , , ,
, , .
. ,
.
, , , .

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

, (,
, ).

Access Excel?
Access Office,
. Microsoft Excel
. ?
, Excel
, ,
Access. Excel
(,
). Excel
,
. Access ,
, .
Access ,
, ,

.

, , Access Excel. . Excel , , .


Access
, Excel ,
. , , 19.

Access SQL Server?


Microsoft
SQL Server, ,
Microsoft NASDAQ. , SQL
Server , Access ,
.
Access ,
SQL Server, , Access ,
. , , Access
. ,
SQL Server, , .
-, .
( .)
(server-based databases) , ,
. SQL
Server . Amazon.com ,
Access. Access
.
. ( , Access,
" , . Access ".)
Access
, Access
. , SQL Server,
( ,
). .
, SQL Server.
, SQL
Server .
. ,
SQL Server, ,
.
, .
Access
, , , , Access
. - ,
, .

,
Access . ,
!
( 2 ).
,
. Access
( 1000 2 ).
,
. .
,
,
. ,
, , , 18
Access
.
Web-. Web
. Access .
, SQL Server (
, ).
Access SQL Server.
Access SQL Server,
, Access. ,
. Access
, SQL Server. 20.

Access 2007
, Office Microsoft ( 1990 .),
Word, Excel Access . , , Microsoft

.
Access 2007 ,
Office 95.
(,
, ,
Access).
, , ,
Microsoft .

Access 2007 ,
.


,
.
, , . "
" 1, .
(m), (Create), (External Data) . . Access ( ,
). (m).
(Create) ( . 2)
, .

. 2. .
, -
.

, ?
, ,
. ,
.
" . " (. .
" " 1).

.
(m) ,

. ,
, , 3.
(Create)
, ( . .
" Access" 1). , ,

, , , , ,
.
(External Data)
Access .
Microsoft SharePoint Server.
VI.
(Database Tools) ,
, ,
SQL Server.
Visual Basic, V.
.
,
, .
.

, ,
.

,
, .
Microsoft ,
.
Access, (. 3).

. 3. Access . ,
. 2, - , . , ,

.
?
Access
. ,
.
, , , ,
, ,
, , ,
.
Office,
, . Office ,
Word 2.0 1990 .
,
. Office
,
, .
.
,
. Microsoft
: . ,
, Access.
, ,
,
1 .


, , .
, <Alt> (
). ,
( ,
, , Twister).
.
, <Alt>, :
1. .
2. .
, (
). , ,
, <Alt>. ,
.
.
?

, Access , ,
" " (KeyTips). .
<Alt>, .
,
. . . 4
.

. 4. : <Alt>, Access
, Office . : <> (
), .
(, <> SQL Server). He
,

-,
. ,
<Alt>.

, .
<Ctrl>. , <Ctrl>+<C>
, <Ctrl>+<S> . ,
, .

(Paste) (Home),
, ,
<Ctrl>+<V>. Access, ,
Access 2007 .
.
Access 2003
Access, , ,
,
.
<Alt>+<E> Access 2003, (Edit) ( ).
<S> (Paste
Special).
,
Access 2007. , Access 2007 ! ,
Microsoft ,
Access. -
, .
<Alt>+<E> Access 2007,
(. 5), ,
Access 2003. <S>,
(Paste Special),
, .
.
, . ,
. ,
, , . Access
.

. 5. <Alt>+<E>, "" .
, Access 2007 .
, . ,

Office
Access 2007
Access. (File), ,
, Office. Office
(. 6).

. 6. Office , .
, ()
()

, Office :
, .
1;
(. 3) (.
19);
Access. Access (Access
Options) Access

Access.
, .
Office .
(Print). Office
.

( ), c , . 7.

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


, ,
Office (. 8). ,
Access.
(Quick Access toolbar QAT
Access).

, . ,
. , . , .
Microsoft .
, ,
. , - ,
,

. ( ,
, .)

. 8. ,
. Access , . ,
,

Access 2007
Access 2007 . .
Microsoft Access 2007. , Access 2003.
. .
(database engine). Access , Jet (
). Access 2007 Jet,
Access
.

, Access 2007 100%


. , ,
Access 2003, (,
, ) ,
.

(Attachments).
Access (Attachment),
, , . (
, , . .
Access 2 .) , .
"" 2.
.
.
Access 2007
,
.
(Layout), .
(Complex data). ,
( "" ).
. ,
.
SharePoint.

.
, . 5 ,
, , , ,
.
SharePoint. SharePoint ,
,
.
Windows Server 2003. Access 2007,
, SharePoint.

SharePoint, , Access. SharePoint,


SharePoint
,
Access . 21
SharePoint Access.
. V,

. Access
, ,
- (, ).
Access . Access
2007 (trust center),
, ,
. Access 2007 (,
),
, .


,
: Microsoft.
Office 2007 . Microsoft
- , help- ,
,
. , ,
, ,
, , , , ,
, .
Access 2007.
Access, , () .


, .
I. .
, , .
, ,
.
II. .
, ,
.
III. . ,
""
, , .
IV. .
,
Access.
V. Access. ,
,
Access. Visual
Basic .
VI. Access.
( ),
Excel. ,
Access
Microsoft: SQL Server SharePoint Server.
. , ,
.


, :
" -> -> (Create -> Tables - Table)".
,
Access.
: " .
. ".
( . .2 .)
. , .
Access , ,
, .
.
, , .
,
. , . , (. 9),

. 9. Access
, , .
, .


, , , . , . , . Access ,
, . , (. 10).

. 10. ,
, .

, ( . 10). : "
| (Table Tools |
Datasheet Fields & Columns New Fields)".
(Table Tools)
| (Datasheet).


:
. , ,
, ,
. 11.
, , , . , :
" (Home Views View Design
View)". , (m),
(Views), (View) (
) (Design View).

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

. 11. Access
. ,
, ,
-


, .
Windows, ,
Visual Basic (. 16). .
" (File Open)" ,
(File). (File)
(Open).
Office.
: " Office (Office Open)". : " Office
Office. (Open)".


, , ,
. ,
, . , <Ctrl>+<S> Access (
).
<Ctrl>+<S>, ,
<Ctrl> , , <S>,
. <Ctrl>+<Alt>+<S>
, <Ctrl>,
<Alt> , , <S> (,
).


,
(track pad). " "
-
( ).
, ,
- . , , " "
.

, , Access .
Access, . Web- www.missingmanuals.com,
, Missing CD ( CD) , , zip- ,
.

Web- MissingManuals.com
Web- , "Missing
Manual" ( ) "For Starters" ( ).
, Web- (
, Errata ( )). , .
, , 1.
Web-, , ,
.
,
"Missing Manual" "For Starters". Web-
, ,
.

Safari Enabled
Safari Enabled ,
, O'Reilly Network
Safari Bookshelf.
Safari , .
, ,
, ,
. Web-
http://safari.oreilly.com.
1

. .


1.
2.
3. : , ,

4.
5.

, Microsoft , Access , . Microsoft


Access,
Office. , , .
Access , Office -
(). .
. , Word
. Excel .
Access .
, . , ,
,
,
.
.
Access
, .
Access ,
.
, .

Access
, . Access . .
Access.
.
. ,
, .
, ,
,
, .
.
(, 10

- Ed's Roadside Dinner ).


.
, , .
.
.
,
, .
-, .
.
, Visual Basic.
, 10 000
. ( 16 Visual Basic.)
Access ,
. ,
, .
,
, .

.
Access 32 768 .
.
Access.


Access.
Microsoft Office Access (Getting Started with Microsoft Office Access)
(. 1.1).
.

Access, - ?
, ( -
, ), ,
.
.
, , ,
( 1).
( 2),
( 2).
( 2), (resident
accountant) ( 2).

1 ( ) , 2 (
) . , , ,
Access, ,
. , ,
Access.
Access 18.

. 1.1. Microsoft Office Access Windows-


Web-. (
, ). ,
, Access

Microsoft Office Access


, .
Web- Microsoft's Office Online. ,
Access,

. Web.
, .
(Open Recent Database),
.
. (
(Blank Database))
, .
.
,
.
,
, . ,
, , ,
. ,
Home Inventory ( ) ,
- ,
(, eBay),
, (
). ,
Access, .
.
Access,

.
, Microsoft Office Access.
Access ,
,
Microsoft Office Access .
Web- .
, :
Access Developer'sToolkit,
http://msdn.microsoft.com. ( .)
Microsoft Office Access
Access, ,
. Access,
, , .


.
- (bobblehead dolls). ( , ,

- ,
. -
, , .)
.
Access

Microsoft Office Access Web. , . Access, Web- Microsoft
Microsoft
Office Access. , .
,
. (
, Access, :
- Web-, Office Online.)
, (
Microsoft Office Online). Access Web-, ,
.
Web-
, , Access.
, ,
. (
.)
,
Access, Web- Office Online (
Access), http://office.microsoft.com Web.

Bobblehead , , .
. . "" .

, .
1. Microsoft Office Access
.
(. 1.2).
2. .
Access accdb (
Access). He , Access

(, Databasel.accdb). - .
Bobblehead.accdb .
Access, ,
, , , , (-) (_).
, ,
.

. 1.2. Bobblehead.accdb C:\Documents and Settings\Matt\My Documents.


, (File Name), ,

Windows , .
Access MyScandalousWedding.accdb ,
(Windows Explorer), MyScandaiousWedding (
.accdb). ,
. Access ( ),
, Access. -
(, ), , .

3. .
Office, Access ,
(My Documents).
,
(File New Database), (. 1.3)
.

. 1.3. Access.
, Access
(mdb). (Save as type) 2000 20022003-
Windows Vista, ,
,

4. (Create) ( Access).
,
.
, Access .
(),
(navigation pane). ,
, ( . 1.4).
. ( . . "" .) , , .

. 1.4. , , ( ) .
.
Access. ,
. . ,
,

, .
Access ,
Access accdb.
Bobblehead.accdb Access 2003,
.
Access mdb (
Microsoft). , Access 2007
accdb mdb, mdb. (
, , mdb :
(really) ,
(retooled) , Access 2000, (improved-yet-again)
, Microsoft Access 2002 Access
2003.) , .
, accdb,
.
Access,
mdb.
Access 2007 mdb co
, . 1.3. Access 2002
2003 Access 2000. (
, , Access 95,
.)


. ,
. , Bobblehead, ( Dolls). , , . BigBudgetWedding-accdb
( ) , , , , , , , . 5 , .
. 1.5 .

. 1.5. .
. , -.

(ID (), Character (),


Manufacturer (), PurchasePrice ( ) DateAcqutred (
))
,
,
, .
Dolls, , . Family ()
. Products ()
, . .
. .
, Dolls , ,
. .
. , .
, (
, ).
.

, Access,
, .

. ,
" ..." (: "
-, .")
, .
. , -, ,
, . ,
, - ,
.
,
, Access.
- :
, Access. 5
.


, . , ,
Access , 1,
, ,
( ).
, (. . "
" ), (. . 1.5), .
.
.
(Design view)
, .
, 2.
(Datasheet view) .
, .
.
,
( !) Dolls.
1. .
- .
(Homer Simpson).

, . Access
, . . .
,
.

2. (Add New Field)


(. 1.6).
, (. "
. "
),

, .
: "Homer Simpson" (), "Fictional Industries" (), $7.99 () ( ). ,
, , .

. 1.6. (, "Homer
Simpson"). <b> .
Access

3. <b> 2.
2 3, . ,
.
.

, , ,
, .
( ), .
.
, - .
, . (
1 (Field1),
1.) ,
.

, .
,
( Access). ,
.
, ($)
, (, January 1, 2008 (1
2008) 01-01-2008). Access
, . ( 2 ,
.) . 1.7
.

<b> - , . ,
.

. 1.7. : Access
. ( 1,
2, 3 . .). ,
. .

4. .
(, 1).
.
5. <Enter>. 4.
, .
Character (), Manufacturer (),

PurchasePrice ( ) DateAcquired ( ). . 1.8.

. 1.8. .
<Enter>. . " 1.
" 2 ,

.
. (
, ,
.)

6. Office (Save) (
<Ctrl>+<S>) , .
Access (. 1.9).
7. .
! .

. 1.9.
(Dolls )


. Access
, (
) .

, Access ,
Excel Word. ,
, (Create Table).
,
.


( ) , ,
, , . . .
Dolls , . .
. (
) .
, .
.
(*). ,
. Access
, .
, , (
Access ).
. ,
(Delete
Record). Access ,
.
. .
,
.
.
, ,
, . , ,
, .
, . ,
,
.
, .
.
. ,
.

, .
,
, . .
,
, , , . .
(, , ).
,
. , Products ()
Discontinued ( ), ,
. , , .


, , . , .
.
,
. .
, Access .
,
<F2>.
. .
<F2>. . 1.10
.

. 1.10. : . ,
("Hobergarten"). , - ,
. : .
. ,
"Hober" "garten".

.
. ,

(<>). .


,
, <Ctrl>+<Alt>+<Shift>+<*>.
,
. . 1.1 ,
.
1.1.

<b> ( <Enter>)

<Shift>+<Tab>

,
.

<>

( )

<>

,
( )
.

<>

( ).

<>

( " ",
). (Edit)

<Home>

<End>

,
.

<Page Down>

,
(,
, Access).

1.1 ()

<Page Up>
<Ctrl>+<Home>
<Ctrl>+<End>

.
,
.
,

. 1.11. Access Web- eBay


. <Ctrl>+<">

. 1.2 , .
1.2.

, .
<Esc>

<Ctrl>+<Z>

<Ctrb+<">

.
. (
(Undo), .)
. , Access
Office. ,
Access , ,
.
,

, .
, . . 1.11

1.2 ()

<Ctrl>+<;>

<Ctrl>+<Alt>+
< >

. ,
, . " " 4

. ,
, , 24-12-2007.
Access . "/" 2

,
Access, Windows-,
.
: <Ctrl>+<C> , <Ctrl>+<X> (
, ) <Ctrl>+<V> . ,
. ,
.
.

.
Access , . ,
:
1. , .
2. . ( ,
<Shift> ,
.)
3. ().
4. .
5.
().
6.
(Paste).
. ( ,
. Access (ID) , . ,
. . " " 2 , .)

Access
, Access .
.
(. . " " ),
Access . ,
Access . , Access .
, , , .
, Access
, ,
.


, .
,
(. 1,12). ,
, , ,
. ,
, .

. 1.12.
Access ( ),

.

(, Bobblehead_Backupl.accdb).
(Windows Explorer), Access .
Office (Office Manage
Back Up Database), Access ,
(. 1.13).

. Access
,
.

Windows (Task Scheduler),


Windows. ( ,
www.pctechguide.com/tutoriais/SchedufeTasks.htm.)

. 1.13. Office
Access , .
, , ,

.

, Access . .
, ,
, . , , .
: Office
(Office Manage Compact and Repair Database).
, -
10 .
, , .
, ,
Access .

.
1. , .
2. : Office Access (Office Access
Options). Access Access,
.
3. (Current Database).
4. (Compact on Close).
5. .
.
, .


Access,
(Save As).

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

: Office (Office Save As),


, . 1.14. ,
Access . ,
- , Access . (
, Access
.)


, . .
.
(My Computer), (Windows Explorer)
. , Access accdb mdb.
Access
Microsoft Office Access. (
Office, . 1.15.)
Access, : Office (Office
Open), Access.

. 1.15. Office ,
Microsoft Office Access.
, ,
Microsoft Office Access

, . Access
(. 1.16).

. 1.16. , Access
, ,

,
- .
( V)
(action queries) (. 8), . ; , Access ,
.
.
laccdb?
laccdb. ?
, acdb.
(Windows Explorer),
laccdb, .
Bobblehead.accdb Bobblehead.laccdb.
Access laccdb, ,
, , ,
( - ) .
Access laccdb ,
. "1" , ,

( ).

, Access
18, -
laccdb. .
, , , .
:
,
( , );
Access , ,
, . ,
. " " 15.


, Office (Office
Open), Access .
,
Access. (
.)
.
Access, ,
Access. ( , ...)
Access Office
(Office Open) .
. , Access

Access , (My
Documents). ,
, ,
, .
Access :
Office Access (Office Access
Options). Access.
1. (Popular).
2. (Creating databases).
(Default database folder).
, (, C:\MyDatabases),
(Browse).
3. , .

, Access
Office (Office Open)
, Access, - Access
(, " , . Access ,
" . " "
Access).
Access - , . .
Access 20022003,
, Access ,
.
Access 2000, .
, , Access 2000
.
Access (, Access 97, 95
2.0), Access , (.
1.17).

. 1.17. Access , , Access 97, 95


2.0. ( ), Access
Access 20022003. .
( ), Access
. ,

, ,
Access. Access 20022003,
: "Bobblehead: ( Access 2002-2003)" ("Bobblehead: Database (Access
2002-2003 file format)").

Access " ", , - .


, (
. 1.20). ,
Access.
, , .
, . 1.18.

. 1.18. Access . ,
,


Access.
, .
.
1. : Office Access (Office Access
Options). Access.
2. (Current Database).
3. (Application Options)
(Document Windows Options setting),
(Overlapping Windows) ( Access 2003)
(Tabbed Windows) ( ).
4. .
5. , .
,
Access .


.
: Office (Office New). Access

Microsoft Office Access (Getting Started with Microsoft Office Access),


,
(Blank Database), (. . " "
).


, .

. 1.19. , ?
/ (),
, ().
,

Bobblehead : , Dolls.
Dolls . ,
, - ,
.
.
, ,
. , . 1.19.


(. . " Access"
), , .
.
, , .
,
.
. ( 14.)

. 1.20. , . Access
-.
. , ,

, ,
.
(Create Tables Table) ,

. , . "
" -
.

, ? Collectors (),
, -.
( ,
), . 1.20.

,
. ,
. ,
Access (. 1.20).
, ,
. Access .
, .

.

,
Access, .
.
, .
, , ,
, . 1.21.
.
,
. .
(m), .
( -
Access), . ,
, . "
" , , .
,
. ;
. ,
Access
, ,
. .


, . .
, , .
.
(Rename). <Enter>.
, , Dolls
DollsInMyWorldRenownedCoflection.
.
().
(Paste). Access
. ,
, .
.
(Delete). Access ,
.
Access
. .

. 1.21. ?
( ), . ,
, , .
, , <Ctrl>+<F1>

.

, , ,
.

,
(New Shortcut),
. ,
, .
, , , ,
.
. :
1. Access , ,
.
Access, .
2. , .
Access .
3. . Access
" 'Dolls' (Bobblehead.accdb)" ("Shortcut to Dolls in Bobblehead.accdb").

Dolls.

. . , ,
.
Access ,
. , ,
-. ,
, (,
-) (
"- " "").

. , .
,
.


. Dolls, 1 (. ,
" " 1). :
Character () Manufacturer ();
ID PurchasePrice ( );
DateAcquired ( ).
, PurchasePrice
, DateAcquired ,
. , Access
, .
, Access
, . 4 4, ,
. 6, 2007, Access .
Access , , . 2.1.
, Access ,
. , Access
.
.

. 2.1. Access DateAcquired.


. (
DateAcquired ). ,
" "

, Access , . ( , , .)
(,
Dolls) . ( (View)
(m),
(Table Tools Datasheet View)
Access. . 2.2.
, .)

Access 2003, .
. ,
, . " , Access" 1.
, (view buttons)
( ,
).

, , Access . ,
.

, .
(Create Tables
Table Design). ,

(ID), , .
" " .

. 2.2. .
( ) ( ).

. ( .
, 9.)

,
(. 2.3).
, ,
. Dolls Quantity
() -.
Bono.
.
.
, (Property Sheet),
. (
,
.) ,
| (Table Tools | Design Property Sheet).
.

. 2.3. , .
, .
.
.


, ,
. . , Access
, , .

.
.
. .

. 2.4. , ,
. ,
, .
(. 2.5)

. 2.5. , , ,
. , , ,

. ,
, .
(Insert Rows).
.

. , ,
.

, ,
. ,
, .

. ,
, , (Delete Rows).
, , , .
, Access
.
. (Description),
. (
" , -"
Character () Dolls, . 2.4.)


Access , .
, . Access
, . ( , , .)
. , , . ( " ,
. " .
"" .)
,
, , .
,
, , ,
, .
(Save) (Quick Access) (
Access)
<CtrI>+<S>. Access . ,
Access ( ),
- .

Access
, . ,
, ( ) .
, ,
Access , .
(Data Type),
(. 2.6). (

). ,
Access, .

. 2.6. ,
.
11

, ,
.
, .
(decimal value),
.
, .
( 4).
, ,
. Access ,
. Access
(. 2.7), ,
, .

. ,
, Access
. ( , , .)

. 2.7. (

currency ) .

Access

( ) ,
( )

, ; , . Access 11 ,
. ,
. . 2.1 10
. ( (Lookup wizard) ,
. , .
. " , " 4.)

2.1. Access

, ,
(Text)
, 255 (
MEMO
(Memo)

, ,
.

, , ,

65 536 (

(Number)

(Currency)

. ,

/
(Date/Time)


).

(

),

, ,

2.1 ()

:
(Yes/No)
. (

,
/

(True ) /
(False ))

(Hyperlink)

URL (uniform resource locator ,

www .FantasyPets .com, nore -

plies @antisocial .co.uk,

Web -

f:\Documents\Report.doc

(Attachment)

Excel , . .

Word ,

(AutoNumber)

Access

( primary key) (. . " "

).

, -

(ID)


OLE
(OLE Object)

OLE (Object Linking and ,


Embedding ,

Access .

(Attachment )
OLE


) Windows .
, . .

.

(Attachment)

OLE,
"" Access.
, .

(Text) .
, . ,
(, " "), (" ,
.") - ("@#$d sf_&!").
, .


. ,
.

, ,
.
, Access
.
.
, .
. ,
.
/, Access
.
,
( ).
.
(, 4,234), (Field Size)
(. . 2.2). Access ,
, .
(. .
" " 1), ,
, .
Access
, (. 2.8).
Access , ,
. ,
, .

. 2.8. He , . Access ( ),

.

, , , , .
, ,
, Access
. , 43.99 , Access ,
, .

, . ,
,
. , Access , , 123-4444 ( 1 234 444).
, .
(input masks) (. . "
" 4) (validation) ,
4.


.
, . , ?
, , ?

. 2.9.
( ). { , ,
.) ,

, ,
Access .
Access ,
,
, .
, 50 , Access
, 200 .
, 100 , Access
,
.
(, ),
, .
50 .
" . "
.
(Field Size)
(. 2.9). 255
. ,
MEMO (. ).

, ,
.

.

.
. 25 , 50
.
. . (
.)
. 50 .
, 100 (
D Google
), , .
, , . ,
80 (.
http://en.wikipedia.org/wiki/Longest_word__in_English),
50.
( ).
, , ,
( . .). 50 , ,
.
, ,
.
.

(123) 456-7890, , 10
. 1234567890, (. . " " 4),
. , -
.
. 255 . ,
MEMO (. ).

MEMO
Microsoft MEMO (Memo)
. ,
, MEMO.
Memo
, .
Memo, ,
Access , . ,
Memo ,
, ,
.
Memo 65 536 . ,
. , Memo.

65 536
Access, . ,
Memo .

,
(Zoom) (. 2.10). ,
, <Shift>+<F2>.


Memo . Memo
(rich text), , , . . Text Format Rich Text ( Plain Text ( )).

RTF ( Font
Home Rich Text). ,
.
<Shift>+<F2>
(. 2.11), - (minibar).

. 2.10. , .
(<Shift>+<F2>), , .
( ) ( )
,

. 2.11. - -
. -
.
,


, Memo.
, ( Word),
. .

, ,
. ,
( )
, . , .
30 000 .
, , Word. Access :
, . , c:\myfile\BonoBobbleheadDescription.docx.
(.
. " " )',

.
( ).
.
(. . "" ).

(Number) .
(
"").
,
(Currency) (. . "" ).
. , ,
. . , ,
. , ,
(. . "
" ) (,
HeightInMeters ( )).

, "44 ". Access , , ,


(crunching)
(validation), .


, ,
(Field Size) , Access

.
.
, , , (
) Access .

8 , .
, .

. 2.2 (Field Size),


, ,
. Access
(Long Integer), ,
.
2.2.



(Byte)
( )
,
0 255.


(Integer)

(Integer)

( )

-32 768 32 767.


(Long Integer)

( )

Access.

-2 147 483 648 2 147

483 647. 4

.
,
,


(Single)

, 38 7

(Long Integer)


(Double)

, 308 15

.
8

(Decimal)

, 28 28


. 2.2 ,
(. . "" ).


(Field Size) , Access
. .
, 50, 50.00, 51, $50.00 5000% ,
-.
(Format).
.

. , 43.4534.
( 4.10 4.1).
.
, ( 1, 000 . 00) 1.
(. .
"" ).

.
, (, 432.11 39.00).
, ,
.
. ,
, ,
, 1,000,000.00.
. . ,
0.5, 50 %.

. ,
(, 0, 0003 300).

, 10
. , 0.0003 3.00 10-4,
3.00-4. , 3 00 3.00 1022.

, ,
, (Decimal Places)
.
.

. ,
Access .
(Format). ,
1

. .

#, ##0, ( ), Access ,
1 1,000, 15 000 15.

Access (
Excel). (. . "
" 7), .

(Currency) , . ,
(Field Size), Access
, .

, ,
.
15 4 .

, Access
, (Decimal Places). 2.
, Access , (.
. " ).
,
,
( ).
, (Format), :
. . ,
, .
. ().
.
( ).
.
"" .
, ( , )
#,###.## Access, : "
".
,
:
$#,###.##
, (
, kr 342.99), :
kr #,###.##


,
( )
( ).

/
Access / (Date/Time) , , ,
. Access ,
.
, Access
, .
( ) (
). (Format).
. 2.3 .
2.3. /


2/23/2008 11:30:15

23, 2008 11:30:15

23--08

2/23/2008
11:30:15
11:30
23:30


, .


. Access , , :
2008-23-2 ( "--");
2/23/2008 ( , , ,
);
23--08;
23 (Access , );
23 ().
, , 23--08 5:06
. / 24- .

- (calendar smart tag). , , ,


, 2.12.

. 2.12. Access - .
-, .

.

Windows ,
. Access
. ,
2/23/2008.
23/2/2008.
. .
,
, ,
, . ,
, , ,
.
(Control Panel). (
Windows XP (Start) | (Settings | Control Panel).
Windows Vista .)
,
, .
. ,
, ,
, , () ().

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

. 2.13.
. ,
, , Access , .
, ,


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

. ,
:
yyyy-mm-dd
: , . ,
ISO (International
Organization for Standardization, ) .
, .
( mm
- ).
, 1,
2008, :
2008-01-01
, ,
, Access , .
. 2.4 ,
.
2.4.

(
1, 2008)

, 131 19,
(0)
, 131, (
19 (0))

ddd
dddd
m



112 (
)

mm

112 (
01 09)

01

mmm
mmmm





0 23 ( )
0 23 (
0009)

08
2008
13
13

0 59 (
)

dd

h
hh
:m

01

2.4 ()

:mm
:s
: ss

0 59 (
0009)
0 59 (
)
0 59 (
0009)

/ Access
12- (AM)
()
am/pm 12-
(am) (m)
/
/

Access
12- ()
()
Access
12- ()
()

1,2008)
05
5
05

(/) .
Access, :
.

. 2.14. ForResale ( ) .
( , ). ( , )

, , ""
"" , ,
. InStock
. "" "" " ?"
Shipped () ( ), Male ()
( ) Republican () ( ,
).
, ,
, "" "" / /.
(Format). ,
, . 2.14.

(Hyperlink) , Web, , .
.
Access .
, .
, Access Web- (. 2.15).

Access
,
. ,
. "
saggy balloons "
( ) , Access
Web - http ://saggy balloons ,
.

. 2.15 .
Office Online

Web -

.
. :
, ;
, (URL
);
, (
).
,
, . ,
http://www.FantasyPharmacologists.com, , , URL
URL
http://www.FantasyPharmacologists.com.
, . . .
.
,
<Ctrl>+<K> , (Edit Hyperlink)
. 2.16.
(Hyperlink Edit Hyperlink).

. 2.16. , (
), , Access, ( ).
, ( Access
, ) (
)

(Attachment) , Access
2007. ,

. Access ,
, .
,
Office, Word
Excel. People () , , , . ,
, .
,
.
Access, , .
Access ,
. , Access
, .

, . , ,
Access, .
, .
,
(Hyperlink).

, ,
(Caption), , .
( .) ,
, .
, . . (. 2.17).

. 2.17. , .
Picture Count Chocula,


. (Attachments) .2.18.

. 2.18. ,

,
(Attachments).
. (Add).
.
.
.
(Remove).
. ,
(Save As)
. (Save All)
. ,
.
.
(Open). Access
, , . , Access ,
.
(Attachments) , , Access ,
. . 2.19 , .
, .
.


.
( ).

, .
, .

. 2.19. : "The Story of the Count.doc" .


, , ( ,
), .
: Access , , ,
, . ( ,
, .)

(AutoNumber) .
, . Access
, . Access ,
,
.

Access
1, 2 . . .
Access . ,
,
, , <Esc>.
, Access
. , ,
, 401, ,
400 . , , .
, , , ,
.
.
,
. " " .



:
. , , , ,
,
(Better Butter Sculptures), " " 12 .
, , ID, 6.
. Access, , . ,
1, 2 3 ID- 11001, 11002, 11003.

ID ,
. , ,
Access , .
" , 1" 8.
,
. .
. ,
(New Values)
(Increment) (Randome).
, 212125691, 1671255778 -1388883525.
,
. (, Orders (),
OrderlD ( ),
(confirmation numbers).) Access
.
. (Replication ID) ,
, 38A94E7B-2F95-4E7D-8AF1-DB5B35F9700C,
.
.

.
.

, , , .


,
, , .
, ,
ID, . - ,
. .

Access .
( 16 ),
, :
38A94E7B-2F95-4E7D-8AF1-DB5B35F9700C
.
, - Order 4657,
Order 38A94E7B-2F95-4E7D-8AF1-DB5B35F9700C. ,
,
.
,
. ,
. ,
, ,
. ,
, , . ,
. (
" ".
19.)

GUID (globally unique identifier, ). , GUID , 1/2128,


, ,
GUID ,
.
Access .

. 2.20 , .

. 2.20. FictionalCharacters 10 ,


(primary key) ,
( ), .
. ,
. " .
Access " .

.
Access
, ,
Access, .
, .
, .
, . Access ,
,
. .
, ,
. . ( ,
, ,
. Access.)
Employees () (Social Security
number) . , ,
, Access , , , .

. , (
) , People (). ,
, .
, ,
- (Sean Smith).
.
ID-. ,
, Access (
, )
. , ,
ID. ( ) , ID
.
Access, .
Dolls, 1. , (ID)
Access.
. Access
, -.

, , .
. ,
(Create Tables Table Design), Access
, , , .
( - ).


(, ,
), .
.
1. , (Field Name).
(ID).
(, BobbleheadID,
CustomerlD . .), .
2. (Data Type) (Currency).
, , Access
ID .
, - (,
).
, , .
3. (Primary Key).
. Access
.

,
. ,
, .
<Shift> .
(Primary Key).

.

ID- ,
.
, ,
.
, , , Dolls.
-, .
.
, .

, , .
, , "" .


, . . , . ,
,
.
, .
. .

, .
.

1.
Access .
64 . .
, ,
. .
.
. ,
. , ,
.
. , "" ,
Access (
CamelCase ( ))
. UnitsInStock ( )
DateOfExpiration ( ).

. Access ,
. SQL (Structured Query Language,
) ( ,
) . ,
, (, [Number
Of Guests] ), . ,
(_).
. ProductPrice
(_) ProductPrice. .
, . .

, (,
FirstName () Employees () Customers ()),
.
. Country ()
Customers, , (Country),
. CustomerCountry .
"Name". ,
, "Name" Access. ,
ProductName, CategoryName, ClassName . . ( ,
.)
, , .
. ,
, (,
: ). ,
.

2.
, .
.

. 2.21. () Contacts
() (). ,
StreetNumber ( ), StreetName
( ) StreetType ( ). ,
,

Name ,
: FirstName () LastName ().
.
, . Name (, ", " " ").
,
- (,
). , ,
. Name FirstName
LastName ,
, .
, Street (), City (), State ()
Country () ,
(Nantucket).
. 2.21 . . 2.21 ()
.

3.
.
Dolls ( ),
, ( ).
.
, Character (), .
, (DateAcquired)
(PurchasePrice).
, , ,
. , ,
. Dolls, 30 40 .
. . ,
, ,
, .

4.
,
.
. . 2.22
, .
, 2.22, .
,
. ,

. ,
?
.

,
.
.

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

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

. 2.23. , . -
,
, Elephant () AnimalTypes,

Pets , Name (), Animal ( ) Weight (),


. . LifeSpan (
), Temperament () Diet () .

. .
, ( )
. : Pets AnimalTypes ( ) (. 2.23).
, .
.
( , Street, City, Country,
PostalCode) Customers Addresses ().
,
. ,
Pets AnimalTypes, 5.


(index cards). ,
. ,
. ,
, .

5.
,
- , . , .
.
AverageOrderCost ( ) Customers.
,
, Orders () ,
. AverageOrderCost,
(, ).
, , , ,
.

, ,
. Access.
,
Web-.

.
Age () DateOfBirth ( ) ( People).
DateOfBirth. , Age
. Age,
,
.
DiscountPrice ( ) ( Products).
,
. .

10%, ,
9%.

6.
, Access (ID), , .
, ,
. , , Access .
,
. . ,
. .
, .
, Access
. ,
.

. 5
, .

: , ,

1
. ,
. ( .)
, .
Dolls (. . " " 1), ,
, .
. ,
-,
,
, .
, -
( ),
. ,
, . , , .
, Access ,
. , , , , ,
. ,
.

, , .
Access (
IV).
, ,
.


?
- . Access , (

). , , , . , ,
.

Access (
, , ).
Access .


(
).


Access
. ? , .

60-, , , .
(m)
(Font) . 3.1.

. 3.1. .

. ,
- ,
Access . , , , , . ,
.


(Font ),
( m).

MEMO (Memo )

(rich text) (, . " "


2), .

.

Access . ,
, ,
.
, Access,
, .
, :
1. Office, Access (Access Options)
.
2. (Datasheet).
3. , , ,
, .

Access (Access Options), ,
Access. ,
, .
, ,
.
Access , ,
. Access
,
.


, .
,
.
, Customers () .
, , ,
, . ,
. : ID (),
FreshPastaPreference ( ), DriedPastaPreference
( ), FirstName (), LastName (), Street (),
City (), State (), Country (). ( , ,
, ,
.) -
, .

. , .
, , , . 3.2.

. 3.2. , .
. FirstName ,
FreshPastaPreference

.
, ,
. , ,
( ),
.

.
, , .
.
, , .


.
, , , .

, Access . , , , .
. .
( ) (
).
.
. Access
, (
, ).
.
.
, . ,
, .
, .
.
(Column Width).
, (. 3.3).

. 3.3. . (
, ,
Access , .)
, ,

( )

, ,
. ,
, <Shift>+<F2>
(Zoom).

, . ,
Access .
, Access .
, .
,
(. 3.4).

. 3.4. , Access ,
Description


, . ,
-.
.
, , ,
.
.
, , .
( ,
.)
(Hide Columns).
. ( .)
, .
,
(Unhide Columns). Access
(Unhide Columns) . 3.5.

, (Add New Field).


, ,
, (. .
" " 2).
(. . " " 1),
.
, ,
. (
, . " " 4).
(. . " " 4),

. , , .

. 3.5. ( ) ,
. , , ,
. , Access .
, ,


,
. .
Contacts (), , . Access
, ,
.
Access.
, (.
3.6). ( ), ,
(Freeze Columns).

, .
, , . .

.
, , Access . , , . " " . , ,
.


(Unfreeze All Columns).

. 3.6. : FirstName LastName .


. ( .)
: , ,
FirstName LastName

, ,
- . ,
, , IV.


1 .
(. . 1.1,

,
).
.
, (. 3.7).

. 3.7 . ,

, .

( 4)

( "3 6") <

Enter >. ,

, ,


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

,
. ,
, . .
, . , , (. 3.8).
. 3.1,
. ( ,
(m) (Sort & Filter).)

. 3.8.
( ) ( ).
,

3.1.

,
,

MEMO

( ),

, "" ""

,


,
.
,




.





.

,
(
)

,
,
. Access,
.

,

(Home Sort & Filter Clear All Sorts).

. ,
Access . ,
. , ,
Access , "".
,
. , ,
( ).
. Access ,
, .

, Access
. , Access
.

.

,
.
, (, 153 49),
(49, 153). . Access , ,
. ,
. . 49 153 ,
153, 49, 4 ( 49) 1 (
153).
,
. , Access
(
Z):
1. .
2. .
3. (, ).
4. .
5. .


,
( ). ,
(Van Hauser), ,
, , , .
, Access ,
, .
, , .
,
, , :

Smith,
Smith,
Smith,
Smith,

Star
Susan
Sy
Tanis

,
, .
. .
1, (m
Sort & Filter Clear All Sorts).
Access .
2.
.
( ,
), FirstName (). . 3.1
, .
3,
.
LastName ().
. , , .
( ).
: Middlelnitial ( ), FirstName (),
LastName (). :

Smith ,
Smith ,
Smith ,
Smith ,

Star
Susan
Susan P
Sy



, 3 .
,
.
, .
,
, . , -
, ,
, (dating service)
, . ,
, , . , .
Access .
.


(quick filter) , ,
, .
, ,
.
. ,
, . , . . 3.9
, .

( )
(Clear
Filter).

. , ,
, , , , , / . MEMO (, ,
),
.
.
, , . . ,
.
,
.
(m Sort & Filter Remove Filter).

,
. ,
, ,
.

, ,
, ,
. ( ,
.)

. 3.9 . ( )

, . ,
.


(filter by selection) ,
. ,
, .
,
.
. ,
. (. 3.10).
, , .
,
, .

. 3.10. .
( City , )

( " Chicago "), ,

" Chicago "). ,


,
" Chicago ". ,


,
" Chicago land " " Little

Chicago "

,
.

. , .

.
, .

/.
, .

. 3.11.
/ ,

, ,
. "Great at darts"
( ) Description () ,
"darts" .
, "darts".
.
Access , .
3.11.



. ,
: . ,
.

. 3.12. : , PurchasePrice ( ),
, . :
. ,
. , ,

, , 85 .

85 , . ,
85 , ? .
. .
. ,
(Text Filters),
(Number Filters) . . . 3.12 .
, ,
.
. , ,
,
.
. , ,
, , . . ,
, .
/. , ,
, ,
, (Yesterday) (Last Week),
(Next Month), (Year to Date), (First Quarter) . .

.

, .
Access ,
. ,
,
. .
, ,
, , .
, , .
, . ,
,
.
, , Access
, .
6.

Access (quick search),


.
, ,

. ,
, . ,
.
, (. 3.13).
, . ,
. <Enter> .

. 3.13. "bobblehead" (-). ,


<Enter> .
<Enter> Access Description

, Access ,
. , .
, ,
. . , .
Access,
(Find).
1. (Home Sort & Filter
Find) <Ctrl>+<F>.
(Find and Replace) (. 3.14).
2. (Find What)
, .
o

(Find What) , .

(Look In)
.

. 3.14.

o
(Match) , . (Whole Field)
. (Start of Field),
(, "bowl" () "bowling" ()),
(Any Part of Field),
( "bowl" "League of extraordinary bowlers" (
)).
o
(Search) Access:
(Up), (Down), (All).
o
(Match Case) ,
, . ""
"".
o
(Search Fields as Formatted)
, Access , ()
. , 44
$44.00. 44, .
$44.00,
. ( ) ,
.

,
(Look In). ,
.

3. (Find Next).
Access .
(), Access ,
, .
Access , .
(Find Next)
(Cancel) .

.

, ( ) .
(Find and Replace)
(Find).
(Replace),
. ,
(Replace With),
.
(Find Next)
,
,
, (Replace)
.
.
, ,
,
(Replace All) .
, .
( (Undo) , . .
), , , .
,
(. . " " 1), .


1 , ,
. Access
, . , ,
Access
.


Access ,
Office, , Word, ,
,
.
, Access,
MEMO. , . , , ,
, , . :
, ,

,
.
.
1. , .
, ,
.
, ,
. , Access
, ,
. (,
.)
, ,
.
2. (Home Records Spelling)
<F7>.
(Check Spelling) ()
ABC .
, Access
. ,
. ,
Access .
,
. ,
. ,
Access
, (Spelling) (. 3.15), ,
, .

. 3.15. Access , , .
Word, Access , .
,

. , ,
.
.
(Change)
.
, .

.
(Change All)
. Access
- ,
, .
.
(AutoCorrect). Access
. ,
( . ""
). (
), Access .
, , .
, ,
, .
(Ignore) ,
. Access -
, .
(Ignore All) ,
. Access - ,
. ,
, , ,
.
(Ignore Field)
.
, , ,
,
.
(Add) .
,
. (
.) Access
, ,
,
.
(Cancel) .
.


Office, ,
. Access,
Word, .
, , ,
.



. ( ) Office, a
Access (Access Options) . (Proofing) (. 3.16).
, (Options)
(Spelling) .

. 3.16. .
; ,

.
(Ignore words in UPPERCASE). ,
Access , ( ,
).
(Ignore words that contain numbers).
, Access , , , Sales43
31. ,
, .
(Ignore Internet and file addresses).
, Access ,
(, c:\Documents and Settings) Web- (,
http://FreeSweatSocks.com).

. 3.17. :
, .
: ,
custom.dic. ,

(Flag repeated words). ,


, " ".
(Enforce accented uppercase in French).
, ,
( ). (
) .
(Suggest from main dictionary only).
,
, .
, , .
, Access
,
,
(Custom Dictionaries), (. 3.17).

,
. ,
Dan_Quayle (_), , , C:\Documents and
Settings\Dan_Quayle\Application Data\Microsoft\UProof.
, ,
(
).

, (AutoCorrect) , .
,
. , ,
.
, .
friday (), Friday.
, .
(,
teh the),
.
<Caps Lock> ,
, Access ,
Caps Lock.
, , . .
.
, .
Office,
Access (Access Options) .

(Proofing) .
(AutoCorrect Options).
,
, . . 3.18
(Replace text as you type), .

. 3.18.
( ), Access (
). , ?
( )
. . , Access
"PEDS" "Patented Electronic Seltzer Delivery System" (
). , ,

, (Exceptions)
Access .
(AutoCorrect Exceptions)
. , ,
(, .), ,
(, WordPerfect).


, .
, .

(), , ()
. ,
(), .
(Character Map).
, , ,
. ""
.

Office, Word Excel,


. ,
Wingdings, Windows . Access
. ,
. , ,
, .
Memo RTF (. . " " 2).

,
.
1. (Start) (Run).
Windows, Access.
Access.
2. charmap .
(. 3.19).
3. (Font) Calibri.
, Access
. , , Arial, Times
Tahoma. . Calibri
, Access
, ( "
. " . "
" ).
4. , , .
, .
- , ,
. .
5. .
(Characters to copy)
. 4 5 ,
.
6. ().
Windows .
7. Access.

, ,
. ,
, .
<Ctrl>+<V> .

. 3.19.


(
, Access),
.
, Office (Office Print) ,
. , , , .
, Access ,
. . , , ,
.
, , .


Access
, . . , .
,
. (
) : Office (Office Print Print Preview).

,
(. 3.20). ,
(
).

. 3.20. ,

, , ,
(Print Preview Print Print).
, Windows, .

, (Print
Preview Close Preview Close Print Preview) Access
.


.
, .
.
.
, ,
, .

<Page Up> <Page Down>.
,
( ,
). 100%,
.
, .
(zoom
slider), .
( )
( ),

(Print Preview Zoom Two Pages).

(Print Preview Zoom More Pages) ,
.


Access ,

(Page Layout) . .
(Size). .
, , ,
(, 216x355 ).
(Portrait, Landscape). .
Access, Office, ,
, .
, ,
. ,
, , ,

.
, 90,
, .
(Margins).
. ,
, (
(Normal), (Narrow) (Wide)).
, (Page Setup),
,
.


, ,
, . , . ,
, . ,
.
, ,
.
. ,
. ,
.
.
, .
(. . " " ) ,
, .
. Access
, . ,
, ,
.
. ,
. ,
FirstName (), ,
, , .

. ,
, .
.
. Access.
.
, .
, ,
, .
, ,
, ,

. . ,
.

. ,
, , , III.
,
,

.

, , . ,
, , "Blank Blank" (" ")
-4.99 .
,
. , ,
.
, , .
, Access:
, , ;
, , ,
;
(validation rules), ,
;
(lookups),
.


Access ,
2. .
, .
2, .

Access .

,
Access.
, , ,
.


- ,
. Access
.
, (
). Dolls
1; , ,
.
. , (Required)
(. 4.1).

. 4.1. Access
( null)

Access
. ,
, .
, Dolls -
, , Character .
, Character
. ( ),
Access -,

(. 4.2). Access
,
(. 4.3).

. 4.2. ,
. .
,

. 4.3. Access , ,
. ( ) ,
, .
, . ,
,

, .

,
.
, , , ,
Products (),
. ,
.
, Customers ()
.

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

,
.


Access (Required)
. , , .
,
, . Access,
, (empty text).
(null) .
, , . ?
, . . , Access, .
, -
, ,
.

,
, . . (Access
.) ,
. : Access , ,
. ,
, .

, , , .
(Required)
(Allow Zero Length) .

.
, 0.
, , . "
" .


,
.
. , - , Access .
(Default Value).
AddedCost ( )
0. Country () "U.S.A."
. ( , ,
.)

Access ,
, (. 4.4).
(. . " " 3).

. 4.4. : (5.9),
(New York), ( New York NY) (U.S.A.). ,
. ,
,

Access , (
).
<trl>+<lt>+<>.

.
, , ,
.

.
Access , ,
.
( ),
. Date ( ) ,
. ( . 4.5), Access
.

. 4.5. Date ( ), DateAcquired , Access .


SQL (Structured Query Language,


) II.


.
(. .
" " 2), ,
.
. 2,
( ) .
, , . , ,
? , Employees
().
.
,
(Social Security number, SSN), , ,
, .


, ,
" .
Access
" . " " 2.
Employees
SSN ,
, (. 5),
,

(, - ) ,
SSN .

.
( )
, ( ).
SocialSecurityNumber, Access , .
4.1 .
4.1. ,
SocialSecurityNumber
Location of Full Record
001-01-3455

001-02-0434

001-02-9558

002-40-3200

Access ,
SSN. , Access
.

.

, .
, 001-01-3455 002-40-3200,
. , . .
Access .
001-02-4300, Access .
"" SSN (,
, 001-02-501), ,
.
, .
Access
. ,
, SSN , .
, ? (Indexed),
OLE. ,

.

( ). ( ) ,
. ,
( .
" . " .
" " 6).

2,
. , Access .

,
Access .
. ,
, .
Access ,
.

.

,
?
. ,
. Access
,
.
Employees
(SSN), Access .

.
, ,
" .
" . " " . 6. ,
.
, ,
Access .


.
, People ()
. .

, , , .
.

,
.
. ,
.

,
.
. 1. |
(Table Tools | Design Show/Hide Indexes).
(Indexes) (. 4.6).
.

. 4.6. , .
ID ( Access )
,

2. .
(Index Name)
Access ,
.
, (, LastName+FirstName).
3. (Field Name) (,
LastName).
, . .
.
" . " .
" " 6.

4. (Unique) .
, ( ,
).
(Ignore Nulls),
, Access
() . ,
(SSN) . SSN ,
,
. ,
Access ()
SSN, , , .


, . " " .

(Primary), .
5. . (
Access , ),
(, FirstName).
( ), , . . 4.7 ,
. .

. 4.7. ,


, . Height
(), , ,

. ,
PhoneNumber ( ), ,
. ,
(, (844) 547-1123), (, 847-5471123), (547-1123),
. -
(,
).

, 4.8. : PhoneNumber , . ,
, . PhoneNumber ,
-. : . 1234567890
, : (123) 456-7890. 1234567890,
.

, , ,
. (
) Access,
. , Access

,
. . 4.8 , Access
.
.
,
. , , .
(_ _ _)_ _ _ - _ _ _ ,
.
. ,
.
, (012-86-7180),
(012867180).
. , .
, .
.
.
. - ,
, ( ,
). ,
, .
,
(//, -- . .).
.
, ,
.
, .
. (
, , , 0 -14, ,
, .
.)
, . ,
.

/.


, Access. , . .
.

, .
1. , .
PhoneNumber.
2. (Input Mask),
.
(...) ,
. 4.9.

. 4.9. (...) Access ,


. -
(, )

3. .
(. 4.10).
4. .
(Phone Number).

, ? ,
. " " . ,
, . .

5. (Next).
(. 4.11).
6. , - .
, .
. 4.2.
- ,
. (_).

, , ,
(Placeholder character).

. 4.10. .
.
, ,
,

. 4.11. !(999) 000-000. 9


0 9. 0
0 9. , (123) 456-7890 ,
123-4567, (123) 456

7. .
,
(. 4.12).
, Access ,
.
9 (Finish).

. 4.12.

8. , .
( , , ).
, - . ,
(416) 123-4567 4161234567.

.
.
, ,
, (416) 123-4567. ,
.
9. .
(Input Mask).
, , ,
. 10,
( 10 ), 14,
( ,
).

10. ,
Access . .

Access
. -.
( IV) .
, ,
(validation rule).


.
(,
, ), .
, ,
. :
;
, (
) .
,
.
:
, ;
Access ;
,
.
!(999) 000-000. 9 0 : , . ,
.
. Access , ,
.
, ,
. 4.2 , . . 4.3
. .
4.2. -

0
9
#

( 0 9)
( 0 9)
, (+) ()

4.2. ()

L

?

&

( , ,
. .)

( ,
. .)

4.3.

!
.
,
( )
<
>
\



,
. , # .
# ,
\#. ,
. ,
\- -.

(Password)

. , ,
, (*).
-

, .
(000) 000-000.
.
. 0 9,
.
00000-9999. ,
, () .
L0L 0L0. ,
, , M6S 2.
99:00:00 >LL. /.
. (
>)
AM . (
. , 12:30 GM, Access

, /,
.)
099.099.099.099. IP-, .
, . , ,
, . 099 (
, ).
(Password). ,
, (*) .
,
(;).
, Access, . ( ,
.) 1,
Access , .
0, .
-.
, Access .
, :
(000) 000-000;1;#
1, #.
( ,
),
(#).

. 4.13.
( ) .
. ,
. , ,
(000) 000-0000

.

, ,
( , ). ,
, , Access
.
, ,
Access.
( )
.
(Edit List), , , Access, (.
4.13).


,
, ,
. ""
,
, .
,
SQL (Structured Query Language, ).

SQL 6. ,
SQL.
(validation expression)
, .

. , Access,
, . -
, Access ,
. ,
.


.
, . ,
0 (
, ).

.
1. , .
, MEMO, OLE,
.
( ).
2. (Validation Rule)
(. 4.14).
SQL, . Access ,
. ,
>0 ,
. .

. 4.14. ,

3. (Validation Text).
, , Access
. ,
( 2),
, .
4. .
, Access
.
.

(.
4.15).

. 4.15. >0
Price. , Access
, ("You didnt get this for free, did you?" "
, ?"). ,
.
<Esc>

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


, .
.
SQL.
, , , Access,
.
.


Access , .
, .
, ,
, . " "
.


. , ,
. < >. . 4.4 .
4.4.


<100
100

>0
< >42

0
, 42

<=100

100

=42

Between 0 and 100

42. (
-?)
0,100


, , ,
. ,
, . >Jan 30,
2007 (> 30 , 2007), Access , . .
, (Jan 30, 2 007) . ,
>1/30/07, Access ,
.
Access, : #1/30/2007#

// #.
, >#1/30/2007#, ,

( ), January 30, 2007 (30 2007


January 31, 2007 , 2006 . .
, :
#1/30/2007 5:30#


Access
. #1/30/2007# ,
.
Access , #1/30/2007
8:00 # ,
8 .
, ,
, .
:
Date ( ) ( - ,
);
Now ( ) , .

, - ,
.
. " "
7 ,
, ,
.

. 4.5 .
4.5.



<#1/30/2007#

30 2007 .

>#1/30/2007 5:30 # 30 2007 .,


30 2007 . 17:30

<=#1/30/2007#

>=#1/30/2007#

>Date()


( )

<Date()

>Now()


( )

<Now ()

30 2007 .
30 2007 .
30 2007 .



.
Like, .
"R":
Like " R*"
.
, Access ,
"R" ( "r"), .

:
Like "*ed"
talked, walked 34z%($)#ed
talking, walkable 34z%($)#.
.
"" "b" ( ,
) :
Like "**b*"
Like .
?, , ,
.
, 0ZB:
Like "?????0ZB"
# , . ,
,
0ZB, :
Like "#####0ZB"
,
. .
, ,
"" "". :
Like "[]???????"
, [] ,
. , , , D,
[ABCD] [A-D],
D, D.
, .
[A- Z] ( ).
Like [A-Z] [A-Z] [A-Z] [A-Z] [A-Z] [A-Z] [A-Z]

, .
, .
, . .

, ,
Access. . " " 7 ,
, ,
.


. And, , .
, . . .
And
And. , . , , 1
2000 .:
<Date( ) And >#l/l/2000#
Or , . , 1000 -1000:
>1000 Or < -1000


.
. ,
Orders (),
. Orders : DateOrdered
( ) DateShipped ( ). , , DateOrdered , DateShipped.
, , - ?
,
. , ,
.
.
1. |
(Table Tools | Design Show/Hide Property Sheet).
(.
4.16).


.
, And (. . "
" ) , .
, .

. 4.16. ,
, , .
,

2. .

. .
[DateOrdered] < [DateShipped] , DateOrdered ,
DateShipped.

. , Access
(, Date ( ), .
" " ).
3. .
, . .

Access
. ( ), Access
.

, ,
, ,
|
.

. ,
International Cinnamon, , . Orders
:
Quantity ()
Product ()
10
Frosted Cinnamon Buns
24
Cinnamon Buns with Icing
16
Buns, Cinnamon (Frosted)
120
FCBs

( , ,
, .)
, , : ,
, Product
. (,
),
(sales performance), .
Access , Frosted Cinnamon Bun FCB ,
, .
,
.

, . ,
, . ,
, ,
.

, . , ,
. , Orders, , ,
.
Frosted Cinnamon Buns ( ).

, , FCB, .
Access : , , , . , . 5
.

: MEMO, /,
, , , OLE, .

,
, , .
, . 50 (AL,
AK, AZ . .).
, ,
Bachelors (),
, (. DatingService.accdb).
, DatingServiceLookup.accdb.
1. .
DatingService.accdb, Bachelors.
2. , .
Bachelors State.
3. , .
.
4. .
. Access ,
, .
,
(. 4.17).
5. (I will type in the
values that I want). . " " 5
: .
6. .
,
(. 4.18).
50 .
, . . , , . "
" 5.

. 4.17. :

. 4.18. .
, ,

7. .
.
8. , .
,
.
, .

State
(
). ,
. , Products, International
Cinnamon,
. (
5.)
9. .
( ) . . 4.19
.

. 4.19. , , .
, .

.
,
(. ) ,
. , .
.

.
, ,
. ,
, . ,
, , , ,

?

( , ).
.
. ,
( ), (
). . " " 5 ,
.
,
, ()
. 5 , .


, ,
.
(, ZI), .
,
.
. Bachelors , ,
State -, .
,
, .
, ,
, .
.
1. , .
2. .

, .
(Row Source), , . ( ,
.)
3. (Limit to List).
, .

1. (Value List
Edits).
.
- , (. 4.20).

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


, , "" , .
.
.
, ,
, .
Products (), .
. Products
Orders (). Orders
Shipments (). Customers ()
Invoices (). Products, Orders,
Shipments, Customers Invoices . ,
(, "
(Jane Malone)?" " ?"),
.
.
, , , .
, .
, .
, .


.
.
, - ,
, .
( ),
.
-: ,
.


Dolls, 1 -.
Manufacturer (),
, . ,
, , -
. ,
, -,
.
, Dolls ,
. 5.1 ( ).
5.1.
ID Character Manufacturer Manufacturer- Manufacturer- ManuLocation
OpeningYear facturerLawsuits
34 Yoda
2

MagicPlastic

China

2003

No

Purchase-Price

$8.99

, ,
. , ,
. ( ,
. " 3. " 2.)
. , (. .
" " 3) , .
, ,
.
, ,
(. 5.2).
5.2.
ID Character Manufacturer ManuManufacturer- ManufacturerfacturerOpeningYear Lawsuits
Location

PurchasePrice

342 Yoda
343 Dick
Cheney

MagicPlastic
Rebobbiicans

China
Taiwan

2003
2005

No
No

S8.99
S28.75

344 Tiger
Woods

MagicPlastic

China

2003

No

$2.99

-, (
MagicPlastic), . (
4 ,

. " 4. " 2.) .


MagicPlastic ,
-.
( ),
.
-
. ,
, ,
.
, , ,
, .
,
(, ), Dolls .
.
( ), .
, -
( , , ).
. -
,
. . , Dolls, . 5.3,
Manufacturers (. 5.4).
5.3. Dolls
ID Character
Manufacturer
342 Yoda
MagicPlastic
343 Dick Cheney
Rebobblicans

PurchasePrice
$8.99
$28.75

344 Tiger Woods

$2.99

MagicPlastic

5.4. Manufacturers
ID Manufacturer Location
OpeningYear
1 MagicPlastic
China
2003
2 Rebobbitcans
Taiwan
2005

Lawsuits
No
No

(
). . , ( ) .
MagicPlastic ,
Location ,

Dolls. (. 6), . (, ,
MagicPlastic,
, .)

Access ,
. ( (Database Tools
Analyze AnalyzeTable)) , ,
. ,
,
.

:
- .
. Manufacturer,
Dolls, Manufacturers.

, , Manufacturer
. .
, .


. .
Dolls, , (, Yoda
()). Yoda,
"MagicPlastic" Manufacturers.
Manufacturers, (, Rebobblicans).

"Rebobblicans" Dolls.
, ,
, , .

(ID)
Dolls Manufacturers
Manufacturer, -. ,
. , .
.
. ,
?
, .
Dolls, .

, , ,
, (. . " " 2).
, , .
,
(ID number), Access.
, .

, . . 5.5
Dolls,
Manufacturer ManufacturerID.

5.5. Dolls
ID
Character
ManufacturerlD
PurchasePrice
342 Yoda
1
$8.99
343
344

Dick Cheney
Tiger Woods

2
1

$28.75
$2.99

Manufacturers (. . 5.4),
, 1
MagicPlastic.
. :
, Dolls, , ;

Dolls, , .

.
Dolls,
,
ManufacturerlD. ( , .
" , " 4. , , , Dolls Manufacturers,
. " " .)

- (
join query ) (. .
" " 6).

,
.

" - "
-, (Dr. Phil).
"" ""
.
. , , ,
. ""

. . -
.
. ,
Manufacturers , a Dolls -. "".

" ".
. , - ,
{ , ).
, -.

, - -
. Dolls ,
Manufacturers . ,
" ":
.
, ,
.

, ,
.
. - Dolls
ManufacturerlD. , Manufacturer .

, , " " . "--" (


, ,
).
,
. " "--"" " "--"" .

, , Access,
(, RDBMS).
, .


, Dolls Manufacturers, ,
, , Access .
. . , Access ,
. ,

. Access
, .
.
.
, .


, Bobblehead.accdb, , . Dolls
Manufacturers ( ).
BobbleheadRelationships.accdb :
.
, .
1. , .
, .

(, . " " 2). , Manufacturers ID, .
2. . (
.)
Dolls.

. 5.1. Dolls , .
ManufacturerlD. ,
ID Manufacturers.
. (
.)

3. -, .
, ,
-. ,
. 5.1.

, ,
. .
, (
). .
, , Access
. , ,
ManufacturerlD Dolls.

4. .
Access .
.
5. (Database
Tools Show/Hide Relationships).
Access (Relationships).
,
. ,
.
Access ,
(Show Table), (. 5.2).

. 5.2. . ,
( )

6. - -.
.
( ).

, . , .
7. (Close).
(. 5.3).
, ""

. 5.3. . ,
, .
(Hide Table).

Access ,
.
.

8. , -.
-, .
ManufacturerID Dolls ()
Manufacturers (). , ID (
Manufacturers) ManufacturerID ( Dolls).

- ( ).
Access , .

,
(Edit Relationships) (. 5.4).

. 5.4. Access - (
/ (Table/Query)) - ( / (Related
Table/Query)), . ,
. -
, , ,

9. ,
(Enforce Referential Integrity). ( .)
, , (, ,
).
.
, .
10. (Create).
, .
(. 5.5).


(. 9), Access
. ,
, .
,
, .

. 5.5. Access , 1
() "--" "" "".
. ,

11. . (
.)
Access , .
, . ,
, , .
.
,
(
) .
.

,
,
( ).
.

,
, .
.
.


,
(
).
( 11 ),
, .
, , ,
-
.
,
:
;
| (Relationship Tools |
Design Relationships All Relationships) ,
, ;
, |
(Relationship Tools Design Relationships Direct
Relationships) , .
,
. .
, , (Edit Relationship). (
. ,
.)
.

, (referential integrity) ,
.


, , ,
. , .

. .

,
(. . 5.4).
.

- , ,
Dolls, Manufacturers.
, -,
.
.
Access :
-, ;
, ( , ,
);
,
( ),
-. (
, ,
.)

, ,
.
, -,

, .

Access ,
. ( ),
.


, , , : , .
, ManufacturerlD ( (null value)). , , . , - - ,
.
, .
Dolls ManufacturerlD.

- Dolls .
, .
, .

.

, ?

, ,
. ,
.
, , .
,
, .
,
.
, .
, Orders
CustomerlD ( ) (
Customers). - .

. , Orders
, Access , ,
.
, . ,
( CustomerID),
.


( ), .
. -. ,
, .

. ,
, . , (Undo)
. .

(Cascade Delete Related Records) (. . 5.4). , .

, ,
. 5.6.

. 5.6. DollsManufacturers
. , Access ,

, .

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

. ,
. .
,
, .
, -
, (
) ManufacturerlD.
.


Access .
( (Cascade Update Related
Records) ), Access ,
, .
- ID . ID, Access
ManufacturerID Dolls.
ID , .
, . ,
, ,

ID (. . "" 2). Access


,
. (
.)
, , ,
. Dolls
Manufacturers ,
.
,
, , ,
.


.
. . " " 6 ,
, . Access .
. - ,
, "",
(. 5.7).

. 5.7. , MagicPlastic?
"" ()

,
(. 5.8).
, Dolls.
.

. 5.8. Dolls.
, . (, ,
),

, .
(. . " " 3).

. 5.9. Access , ,
. . Orders ,
, Invoices , . , Access
.

- -.
Access ,
, "". ,
Customers, - (Orders)
, (Invoices).
"", Access , , '
(. 5.9).

, . Access
.
, ,
" . "
.

, ,
. - -, , . .
Access
(. 5.10).

. 5.10. . Customers Orders (


, ). Orders OrderDetails (
). , ,

.

,
.
.
(,
). .

, .
, .
(Subdatasheet Name). ,
. , ,
. (Auto),
Access ,
, . 5.9.
(Subdatasheet Height). ,
.
, .
0, ,
.
(Subdatasheet Expanded).
,
( ),
( ).


, , .
?
. , , ,
, Bobelle House O'Dolls 3408. Access
, , .
, Access , .
(. . " , "
4), ,
.
.
ManufacturerlD Dolls, ID,
Manufacturers.
, .
, , ,
. -
.
, , . , . (
), .
, (
).

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

, ,

Dolls Manufacturers (
.
" "
), .

, ,
Dolls Manufacturers.
1. - .
Dolls.
2. , -,
.
, , ManufacturerID.
3. " "
("I want the lookup column to look up the values in a table or query")
.
.
4. - .
Manufacturers.
, .
5. , , ,
(Selected Fields) (. 5.11).
.
ID Manufacturer.

. 5.11. , (
ID) ( -).
,

ID

Manufacturer

, -


. ,
FirstName LastName FamilyRelatives ( ).
, -
. .

6. , (. 5.12),
.
Manufacturer.

. 5.12. ,

7.

8.


(. 5.13). ,
(Hide key column (recommended)), .
, ,
, , , .
, .
.

, (
ManufacturerID).
,
(Allow Multiple Values). ,
,
. ( .) .
" " .

. 5.13. , ( Manufacturer)
( ID)

9. (Finish).
Access
. Access ,
. "
" Manufacturers Dolls,
(. . " " ).

Access ,
, . ,
.
, ( .
" " ). Dolls
Manufacturers.
.
.

, Dolls ,
(.5.14).

.

, . ?
Access ,
. , Dolls, Access .
, , ,
.

, ,
, , .
, Dolls
Manufacturers. ( .) Manufacturers
-. Dolls
ManufacturerID. ,
.
, . Access
, (m Records
Refresh All). Dolls
.

. 5.14. , Dolls ID ManufacturerlD,


. (
, ). ,
,


. " " " ,
"--" ( ),
,
.
, .
"--" :
"--" "--".
.

"--"
"--" .
.
Products () ,
, . - ,
(, , ProductsEngineering
( ). ,
. ,
. ( Access 255
.)

. 5.15. , (
), Access , "--". 1
, . ID
Products ID ProductsEngineering ,
ProductsEngineering Products

"--" , "--" (. 5.15).

, .
( )
.

, (. .
" " 2) ,
(. . "
" 4).

, .
"--"
"--" Access.
(. . " " 3)
(. 6), .
,
.
,
(. . "
" 18) ,
.
.
, ,
, .
, (. .
"" 2) .
, . ,
(, . " "
18).
.
, .
,
.
, .

"--"
"--" . ,
. (
).
( ).
, ,
.

-,
-.
"--" , Access
.


"--",
(
, Microsoft SQL Server). , , .
,
.
.
, .
,
.
, Authors , . 5.6.
5.6. Authors
ID
FirstName
10
Alf

LastName
Abet

11
12

Pendant
DeLawn

Cody

Books , . 5.7.
5.7. Books
ID
Title
402
Fun with Letters
403
How to Save Money by Living wit
404

h Your Parents

Unleash Your Guilt

Published
January 1, 2007
February 24, 2008
May 5, 2007

. 5.8 Authors_Books, .
5.8. Authors_Books
ID
AuthorlD
BookID
1
10
402
2
3
4

11
12
11

403
403
404

AuthorsBooks , . , 10 (Alf Abet) 402 (Fun with Letters).


, , Cody Pendant
, (How to Save Money
by Living with Your Parents).

, , Authors
Books.

, "-", Access. ,
-, . Authors "--"
Authors_Books, Authors .
Books "--" Authors_Books,
Books . ,
, (. 5.16).

. 5.16. "--" Authors Books


"--", Authors_Books.
, , ,
Authors_Books

,
. "--",
, (. . " "
) AuthorID BookID Authors_Books.
Authors_Books ,
.


Access 2007
"--". (. 21)
SharePoint Access 2007 .
, .
"--".
- .
.
AuthorID ,
(. 5.9).
5.9. Books,
AuthorID,
ID
Title
Published
402 Fun with Letters
January 1, 2006

AuthorID
10

403

How to Save Money by Living with Your Parents February 24, 2005 11

404

Unleash Your Guilt

May 5, 2006

11

. ,
403.
AuthorID,
, . 5.10.

5.10. Books,
AuthorlD,
ID
Title
Published AuthorID
403 How to Save Money by Living with Your Parents February
11, 12
.
Access ,
.
.
(. . 5.14),
. ,

, . ,
(, ManufacturerID)
(Lookup).
(Allow Multiple Values) .

,
.

. 5.17 .

. 5.17. , .
, .
, -

,
accdb (. " , . Access ,
" . " " 1).
mdb (, Access 2003 )
.
SQL
Server ( 20), SQL Server . ,

(, ) -
SQL Server, .

Share-Point
Server ( 21).

.
"--"
: ?
.
,
. ,
. ,
Students_Classes ,
. Students_Classes
, EnrollmentDate ( ), nfirmationLetterSentDate ( ) PrerequisitesChecked ( ).
,
. Authors_Books,
, , .
Books.
Authors_Books , . (
Authors_Books,
.) Books
Authors ,
, .
,
Access . ,
. ,
, ,
Books, Authors_Books. ,
. ,
IV.


.
, .
.
,
. , ,
, ,
, , .


Cacophone Studios .
,
. . , 273
. (

14 - ) ,
Access .

Cacophone Studios?
, .


,
Cacophone Studios. ,
, :
Teachers ,
;
Students , , .
Students
, (
). , Students
;
Classes , Cacophone Studios.
, ,
.

, , PreviousClassRequirements
( ) .
. ( ,
Classes
.)

, Cacophone Studios .
.


. .
. : Students Classes,
Teachers Classes.
. Cacophone Studios
,
"--". , Cacophone Studios
,
. ,
Teachers Classes "--".
,
Students_Classes Teachers_Classes ().

. 5.18 .

. 5.18. "--" Cacophone


Studios

Students_Classes .
, ,
, , . .


Cacophone Studios ,
. , , ,
Classes. ,
. , (,
(Electro-Acoustic Gamelan)) ,
. , , ,
, , , , . .
ClassDescriptions (
). .
Classes
. ,
.
Classes ClassDescriptions.
"--" (. 5.19).
Cacophone Studios
. , ,
.
.

. 5.19. ClassDescriptions ,

: TeacherPayments ( ) StudentCharges ( ). ,
, , , , . ,
StudentCharges Students.
, ,
, , . , StudentCharges
Students, Classes.
. ,
StudentCharges StudentsClasses. ,
Students_Classes
. , Students_Classes,
StudentCharges,
Teachers_Classes TeacherPayments. . 5.20
( ClassDescriptions,
. 5.19).

, "--"
, (.' . "
" 4).
Student_ClasseslD StudentCharges Teacher_ClasseslD TeacherPayments.
, ,
, .

. Cacophone Studios, , . (, , .) , .

. 5.20. TeacherPayments ( ).
StudentCharges ( ). ,
,
. ,

.

Office (Office button Print.)
, ?
, , . ,
,
. ( , ,
III.)

. |
(Relationship Tools | Design Tools
Relationship Report). ,
.
, Office
.
Access .
,
. (
),
.
10.


, , , -,
.
, . ,
, () ,
.
Boutique
Fudge,
.

. .


Boutique Fudge,
. - ,
.
Products, ,
. : ,
.
,
(UnitsInStock ( ) UnitsOnOrder (
)), ( Discontinued (
)) , .

. Boutique Fudge
,
. , .
(Boutique Fudge 1999 .
, .)
Discontinued. ,
,
. "" 3.

ProductCategories .
,
( (Beverages), (Candies), (Chocolate)
,
(Personalized Choco-wear).
Customers , .
, , , ,
, .


. , (
)

. CustomerCreditCards.
Customers
CustomerCreditCards. BoutiqueFudge
Customers.
"--"
ProductCategories Products. . 5.21.

. 5.21. (, Chocolate Jasmine Tea ( ))


(, ),


, , Boutique Fudge .
, ,
. .
Orders , .
, , , .
OrderDetails .
OrderDetails (ID) ,
, .
,
Orders OrderDetails ( .
5.22). (. . ,
),
. Access , : (.
5.23) (. 12).
, OrderDetails
. ,

Products. .
, .
, .

. 5.22. .
Boutique Fudge

. 5.23.


(point-in-time data), .

, Order , . .
.
, ,
,
, .
, Boutique Fudge
, . , , Shipments (), , , Payments
(), , . , , .
, ,
.

II

6. ,
7. ,
8. ,
9.


. 3 , ,
, , ,
.
. , , .
, , ,
Access Boutique Fudge, .
, Orders,
, . (

(hot marketing).) ,
, (2 ) . (

.) ,
, .
, .
- ,
.
: , . , Boutique Fudge
Orders, ( )
. ,

MostExpensive Orders LastMonth (
) . ,
,
LargeRepeatFudgeOrders (, ).
. ,
.


, , , ,

? Access
, (. . " Access" 1).
, , , .

. , ,
.
. , . .
. Boutique
Fudge ,
, .
, . . Orders
(, Products () Customers ()).
, . " "
.
. Products Boutique Fudge
.
, ,
, . 7
.
.
.
, .
, ThermoNutcular Fudge
Vanilla Bean Dream.
7.

.
, , 10%,
.
, (action query), 8.

:
(select query), .

, .


Access .
.
.

, ,
.

.
, .
SQL ,
( ),
Access.
SQL, ,
.


.
. ( ,
BoutiqueFudge.accdb, ,
.) ,
2007 . . 6.6.

. 6.1. 5

, .
1. (Create Other Query Design).
, .
Access (Show
Table), (. 6.1).
2. , ,
(Add) ( ).
Boutique Fudge Orders.
Access , .
,
.
3. (Close).
,
.

. 6.2. Access
. .
, ,

4. , .
(.
6.2). ,

. Boutique Fudge, ,
, ID, DatePlaced CustomerID.
,
(*). .
, ,
.

. ,
( ).

5. , ,
.
,
. ( ,
, .) ,
( . 6.3).

. 6.3. ,
.
. DatePlaced

6. ,
(Show).
, Access , .
,
. ,
.
7. .
, ,
. ( ) ,
, .
, ,
(Sort) .
,
(. 6.4).

. 6.4. , ,
.

. ,
, ()
.
, 5.

.
(. . "" 3) ,
.

. (
.)
,
(Criteria) (. 6.5).
DatePlaced , ,
: >=#1/1/2007# And <=#3/31/2007#
. ,
,
.

. 6.5. , , ( 1 1
2007 ). , (, 1
2007 . ), #

9, | (Query
Tools | Design Results Run).
. ,
, (
) . ( . 6.6
Orders.)
,
(Design View).

. 6.6. , ,

.
, ,

,
. -

Orders ,
, Orders .
, .

10. .

<Ctrl>+<S>. , Access ,
( ). ,
. .
,
.
Access .
,

. ,
. FirstQuarterOrders_2007 ( 2007)
. 6.6.

, , , ,
.
, .

(. 6.7).
(All Tables),
, . ,
.
, .
, TopProducts,

Products ( >50 Price).


, ,
TopProducts.
.

. 6.7. , .
, TopProducts ( ) Products

Access , . ( .)
, .
, , . .
(Home Records Refresh Refresh All). , Access , .

, .
, Access .
, ,
, .


.
Access, ( ), .

. ,
1032, :
=1032
, (Criteria) CustomerID.
1032 =1032,
, .
( ),
Access, ( 1032),
.

(. . " " 5), Access


, .
, Classes InstructorID ( ,
).
=1032 InstructorID, Access ,
1032 ,
.

, .

, .
CustomerID Orders, , 1032.
, Hancock, John ( ).
,
. -1032 CustomerID ,
=Hancock, John , . (
Customers, Orders.)
, . , Orders,
, .
:
(ID) Customers .
Orders;

Customers .
, . " " .

, .
Access , .
="Harrington Red"

.
OrderTotal , 10 50
:
<50 And >10
( 50 10),
And (. . " "
4). Or, ,
. 7
.
.
# (. . " " 4).
DatePlaced, , 2007 .:
<#1/1/2008# And >#12/31/2006#
1 2008 ., 31 2006 .

, ,
, , . ,
Access .

.

, . , ,
(, . " "
4). Access.
, <50 And >10 Access ,
, ( 10 50).
, Access ,
, .
, . "
" 4.
7 ,
Access.


, ,
. , ,
.
, .
, 10 .
, . , ,

.
Access , 10 .
,
. .
1. ( ,
).
Products ProductName
Price.
2. ,
.
,
Price.
3. | (Query
Tools | Design Query Setup Return) (. 6.8).
(All),
. 5, 25 100 5, 25 100
. , , 25%
.

. 6.8. , .
27


|
, .
, .
Access , ,
, ,
. .
, (
), .

4. (. 6.9).

. 6.9.

.

4 . (
.
.) . , (. .
" " 4). -,
Access . Access
, , , .
, (
), , ,
.
, , Access
"Bavarian Tart" Products.
ProductName, Access "",
, . ,
, . ,
, , Access
.

,
. .
, Access . , - .
, .
,
.
. , Access
,
. , Access
,
, .
. ,
. Access
, .
, , . ,
.
, , LastName
().
, , ( )
. ProductName Products,
( ) .
, City Customers,
, City
, , Access .


, ,
. ,
.
,
. Access
Office, .
, .
, .
1. (Create Other Query Wizard).
Access (. 6.10).
2. .
(Simple Query).
.
.

.
o (Simple Query Wizard)
, .
.
o (Crosstab Query Wizard)
,
. . " " 9.
o (Find Duplicates Query Wizard)
, , ,
, .
(. .
" " 4),
.
o , (Find Unmatched Query Wizard)
, ,
, .
, .
, . " " .

. 6.10.

3. .
.
4. . (Tables/Queries) ,
. ,
, . 6.11.

. ,
.
.
, , .
, . .
" " .

. 6.11. > (
). ,
, <.

5. (Next).
,
, .
7. , ,
( ) (Detail), a
(Next).
(. 6.12).
6.

(What title do you want for your


query?).

7.

,
(Modify the query design). , ,

(Open the query to view information).

, (. . "" 3)

. , .
8. (Finish).
,
7.
| (Query Tools | Design
Results Run).

. 6.12.

.

,
.
, .
,
( ).
,
.
,
. ,
Boutique Fudge, ,
, . ,
, (. .
" " 7), ,
, , .

, . ,
( )
.

SQL
, , SQL (Structured Query Language, ). SQL , ,
.

, : "--" (
) "" (
Microsoft SQL Sever). ,
"".

( ),
Access SQL. , Access
. ,
.
SQL,
. .
.
, SQL,
. ,
, . , SQL
,
.
SQL. ,
, , Access.
.
Access Oracle. ,
, ,
, , , .
SQL,
.
. SQL
Access.
SQL,
.
SQL
SQL (SQL View). . 6.13 ,
.

. 6.13. SQL TopProducts, , 50


. , ,


, SQL ,
. ,
( ),
:
1. SELECT Products.ID, Products.ProductName, Products.Price
2. FROM Products
3. WHERE (((Products.Price)>50))
4. ORDER BY Products.Price;
.
1 SELECT, , ,
( , ).
SELECT , .
. ,
, .
2 FROM, (),
. Products.
.
, .
3 WHERE, .
50 .
,
, AND.

Access .
SQL WHERE ( ( (Products . Price) >50) )
WHERE Products. Price>50. Access ,
.

4 ORDER BY, .
Price ().
, DESC .
, .
( ; ). Access
, SQL.
, , , , SELECT, FROM,
WHERE ORDER BY.
Access .
SQL, ,
( ,
Access ).
SQL , ,
(
):
SELECT Products.ID, Products.ProductName, Products.Price,
Products.Description
FROM Products
WHERE (((Products.Price)>100))
ORDER BY Products.Price, Products.ProductName;
,
, , .


SQL. ,
SQL SQL,
( ).
(union query) , , .
.
, ( )
. ,
. ,
. ,
UNION .
, ,
Customers Employees:
SELECT Customers.FirstName, Customers.LastName
FROM Customers

UNION
SELECT Employees . FirstName, Employees . LastName
FROM Employees
, , Customers Employees
. , ,
FirstName LastName, .

,
Employees F_Name L_Name, .
Access
.

, ,
, ,
,
.
, . Access
.
, SQL.

(Unrelated Objects) , (. 6.14).

, .
, UNION UNION ALL.
,
, .

. 6.14. .
,

,
,
. (. . " " 18
.)
" ".
(join queries), .

, .
,
Access
. ,
.
, Orders () Sales
() DatePlaced ( ) OrderDate ( ). , FirstQuarterOrders_2007 (. . 6.6),
, . Access ,
FirstQuarterOrders_2007 Orders.
, .
Access ,
, .
, , Orders,
. :
1.


(Database Tools Show/Hide Object Dependencies).
Access . (
, .)

2.

, .

3.

,
(Objects that depend on me), , ,
, (Objects that I depend on),
, .

4.


(Refresh).
, (.
6.15).

Access , , SQL ,
. ( ),
Access , ,
. ,
, ,
. (
SQL .)

. 6.15. Products. ,
Products, , Products. ,
"" (+), . ( +
TopProducts, , .)
. CustomersAndEmployees,
, Access


5 ,
.
, .
, Access
(join).
,
.
-.

.
- (
Dolls) - ( Manufacturers).
Cacophone music ,
.
Boutique Fudge , ,
.


. ProductID
. .
, .

. 6.16 .

. 6.16. Classes ,
. Teachers,


Access .
, (Show Table).

, .
, , ,
.
( ,
. " " 5, , .
" " 5), Access . ,
, . 6.17.

. 6.17. Access CustomerlD Orders ID Customers,


,

, ,
, (. 5).
- ( ,
, Access),
.
. ,
(Delete).


, Access ,
. ,
. , ,
(ID). ,
. " " 2,
, ID CustomerID.
, , .

.
:


.
, .
,
: ,
(. . " " 5).
,
. ,
.
, Access ,
, .

, .
,
. . 6.18 , , .
6.19 .

, , . Orders
Customers, , :
? , .
-
-.

.
Customers Orders,
. . ,
,
Customers .


, , ,
.

.6.18. Orders Customers. ,


.
(Table) ( ), ,

.6.19. , . ID
(
Customers, Orders)

, (
) , .
,
.

. .

, .
, ,
, .
. "
, " . " " 7
, .

.

, . , . . 6.19 DatePlaced StatusID
.
, -, ,
? ,
. (, . 6.19
Toby.) , Access Customers .
, "Toby" "" . 6.19, Access
.
,
. , , Toby, ,
, Lisa. FirstName LastName. (
, Toby Customers.)
CustomerID Orders ,
. , . 6.19, CustomerID ,
.


, , ,
(inner join).
, , . Customers Orders, ,

. ,
( CustomerID) (
CustomerID,
Customers).
(outer join)
( ) .
,
, ,
.
, Orders Customers,
, . ,
,
( FirstName LastName) . 6.1.
6.1.
Orders Customers:
FirstName
Stanley
Toby
Toby

LastName
Lem
Grayson
Grayson

ID
7
4
6
18
19

DatePlaced
13-Jun-07
03-NOV-06
03-Nov-06
01-Jan-08
01 -Jan-08

StatusID
Cancelled
Returned
Shipped
In Progress
In Progress

, . ( , , .)
, .

- ,
CustomerID (. . " " 4)
(. . " " 5).

Orders Customers,
.
,
(. 6.2).
6.2.
Orders Customers:
FirstName LastName ID
DatePlaced StatusID
Stanley
Lem
7
13-Jun-07
Cancelled
Toby
Toby

Grayson
Grayson

4
6

03-NOV-06
03-Nov-06

Returned
Shipped

6.2 ()
FirstName LastName ID
Ben
Samatara
Goosey
Tabasoum

DatePlaced

StatusID

Mason
Khan

. ,
?
( Access , . . " " ), .
, ,
(Join Properties) (
). (. 6.20),
.

. 6.20. ,
.
,


.
, , : , (unmatched records).
,
, . .
, .
, .
,
. : ,
(ID) . (null) .

. 6.21. ,
. , . ,
ID ,

. 6.22. .
Products ProductCategories, Suppliers (), ,

,
ID Orders:
IS Null
, Access , ,
. . 6.21 .


, Access
. . ,
. , ,
.

. 6.23. , , Orders,
Customers -
Orders, . ,
, ,


.
, .

, ,
, , . Access ,
, .
. 6.22 , - ,
.

. 6.24. , , ,
. ,

,
. OrderDetails,
Boutique Fudge .
OrderDetaits , ,

(. . " " 5, ).
, ,
OrderDetails, Orders Customers, . 6.23.
, "--"
(. . " "--"" 5),
. 5, Cacophone
Studios
. ,
, ,
: Classes, Teachers Teachers_Classes (. 6.24).

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


, , , .
Products, Price
(), PriceWithTax ( ). ,
PriceWithTax Price.
. , ,
, ,
(, ).
, , PriceWithTax,
Access . Boutique Fudge
,
10%.
.
, .
,
.
: , , .
Access ,
.
.


: ,
, Access.
:
:
, , PriceWithTax, :
PriceWithTax: [Price] * 1.10
, Access , Price
1.10 ( 10%). Access
, . , Price.
.
Price, ,
, :
PriceWithTax: [Products].[Price] * 1.10
,
(, (query join), .
" " 6), .
, . (
, Access .)

Access (, [Products] ! [ Price]), .

PriceWithTax .
, . (
, , .) (. 7.1).
. ,
(. 7.2). ,

(. . " "
) (.. " " ).

, . ,
Price PriceWithTax
Access .

.
,
, . " "
.

. 7.1. (ID Name)


PriceWithTax. Price, Access
PriceWithTax,

. 7.2. PriceWithTax 10%. ,


, , .

.

. ProductsWithTax
, . Products, , .
Products WithTax. ?
, , PriceWithTax
. Access
. Access .
.
Access
, .
, ,
.
, 100 , 50
, (
) , .
, ,
, , .
(
18), , .

.
(Home Records Refresh Refresh Record).

(Home Records Refresh Refresh All).
,
.
,
. .
. Price: [Price] * 1.10
, , .
Access .
, .


, (+), (-), (*)
(/).
. PriceWithTax: [Price] *
1.10 PriceWithTax: Price * 1.10 (
Price). ,

.
, Access
, .

?
, ,
. .
( ) ,
.
, .
, DateCustomerPlacedPurchaseOrder
Date: Date: DateCustomerPlacedPurchaseOrder ( Date)
(alias).
, , (
DateCustomerPlacedPurchaseOrder) .
(Date).


. . 7.1
.
7.1.

+

/
\
Mod

1+1

(
)

1-1
2*2
2^3
5/2
5\2

0
4
8
2.5
2

( ,
)

5 Mod 2

.
Products QuantityInStock ( ),
, .

, , ,
:
ValueInStock: [UnitsInStock] * [Price]

,
. Nz ( ), .
" " .


, . (
, ,
.)
, .
. ,
, :
ExtendedDeadline: [DueDate] + 14
10 2007 ., .24 2007 .
, .
, :
ShippingLag: [ShipDate] - [OrderDate]
12 , ,
12.

/ .
. 12.25,
12 6 ( 6 25% ).

, ,
# // (Month/Day/Year).
,
(20 2007 .)
: LateDays: [DateSubmitted] - #03/20/07#
, DateSubmitted
( ), , . 4 , 4 , -4 ,
.


, Access
, ,
,

.
, , Access .
:
1. ( , , Access ).
2. .
3. .
4. .
5. .
, QuantityInStock ( )
QuantityOnOrder ( ) ,
. ,
:
TotalValue: [UnitsInStock] + [UnitsOnOrder] * [Price]
, Access QuantityOnOrder Price
QuantityInStock.
:
TotalValue: ([UnitsInStock] + [UnitsOnOrder]) * [Price]
QuantitylnStock QuantityOnOrde ,
Price .

?
,
.
<Shift>+<F2>. (Zoom),
, ,
. , ,
, .


, ,
, .
, ,
. . , (, , ).
(&). ,
FullName (), FirstName LastName:
FullName: [FirstName] & [LastName]
, . ,

, , : BenJenks. : ,
. : FullName: [FirstName] & " " & [LastName]
: Ben Jenks.
,
(, Jenks, Ben) : FullName: [LastName] & ", " &
[FirstName]

Access : , ,
, ( ).
, , ,
Access , .

.
, "The price is" , :
Price: "The price is: " & [Price]


, , , ,
, .
. Access ,
.
, , . , , ,
. Access
, , .
Access.
:
;
, ;
Visual Basic, Access,
V.
, ,
, . ,
.

SQL (. . " SQL" 6),


Access .


,
.
. ,
( ).
Round (),
.
.
Round (), ,
, 5%:
SalePrice: [Price] * 0.95
$43.97 41.7715,
. Round ().
, :
SalePrice: Round([Price] * 0.95, 2)
Round ( ) .
, ( Price
* 0. 95), ,
(2). , , 41.77.

, Round (), .
, ,



, Access . ?
, Access 21.985 21.98. , 5, ,
21.99. .
Access ,
.

5. 21.985 , 21.98
21.99, , . 5
.
, , ,
, , .
5
, , .

21.985 21.98, 21.995 , 22.


(
, , ), .


.
: , . , Access
Abs ( ),
( ).
:
Speed: Abs ([DistanceTravelled] / [TimeTaken])
,
Round ( ):
Speed: Round (Abs([DistanceTravelled] / [TimeTaken]), 2)
, Access
. , , , . :
Speed: Abs(Round([DistanceTravelled] / [TimeTaken], 2) )
,
.
.
.
. ,

.


, Access
. , ,
.

{ , ,
, ).
, .
(Expression Builder)
, Web-pecypc
www.techonthenet.com/access/functions.

Access ,
. :
1. .
2. , ,
(Build).
,
, ,
.
,
(. 7.3).

. 7.3. ,
, ( +, -, / *, -
), ,

3. .
, ,
, . (. 7.4)
(. 7.5).


. .
, (=), And, Or, Not Like,
(. . " " 6), .

. 7.4. .
, . , ,
.
,

. 7.5. .
. (
, VBA.)
.
.


,
. [Products] ! [Price]
[Price]. He Access .

4. .
Access .

,
(, <number> <precision>), . .

. 7.6. Round () .
, . ,
Access . ,
Access

Access , . ,
,
, .
, ,
, (Help).
,
, , . 7.6.


Format ( ) , . , ,
, , .
, ,
:
SalePrice: [Price] * 0.95
Price , SalePrice
( ) ( , . .).
43.2 $43.20.
, Format ( )
:
SalePrice: Format([Price] / 0.95,

"Currency")

. ,
,
Round ( ).
Format () ,
. . 7.2.
.
7.2.

$1 433.20
1433.20

(, 143320.00%
100, ).

1 433.20

1.43+03

7.2 ()

, 0, ,
0.
/ /

.

, . 7.2.
.
FormatCurrency( ), FormatPercent ( ) FormatNumber ( ) (
,
). ,
, ,
.
, , , Format ().
,
Access (.
. 7.6).


Access ,
. Round ( )
Format ( ) (. 7.3),
Access .
7.3.

Sqr ( )

Abs()


(
)

Sqr(9)

Abs(-6)

Round (8.89, 1)

3.9

Round ()

Fix ( )

Fix (8. 89)

Int( )

Fix (),

,

Int ( - 8. 89)

-9

7.3. ()

Rnd( )

Val ( )

,
Forma
t( )
-

Int
((6)
Val
("315
Crossl
Format (2
43 .6 ,

315

$243.60

.

Rnd ( ) , ,
? Access
Rnd ( ).
, , .
, .
, Random: Rnd ( ).
, 0 1 (,
0.7045, 0.2344 . .) .
,
Random .
( )
. --! ,
, Access .


, , .
. .
. .
&, . "
" .

. ,
100 .
. ,
.

. 7.4 , .
7.4.

UCase( )

UCase("Hi There")

HI THERE

LCase( )

LCase("Hi There")

hi there

Left ( )

,

,

Left("Hi There", 2)

Hi

Right ("Hi There", 5)

There

Right 0
Mid ( )

, Mid ("Hi There", 4, 2) Th


,

Trim ( )

(
LTrim ( ) RTrim( )

Len ( )

Trim(" Hi There ")

Hi There

Len("Hi There")

,
(
). .
, , .
, , "Choco":
Left([ProductName], 5) = "Choco"

. 7.7 , .
Len ( ) . ( , ,
, ). , . .
. , , , ,
Description 15 .
Len{Description) < 15

.

.
, , .

Instr ( ),
. ( Instr ( )
"in string", .)
"he" "Hi There" Instr ( ) :
Instr("Hi There", "he")
5, "he" .
Access , Instr ( ) 0.
, Instr () .
.
, Mid ( ) Left ( ),
, - .
Instr ( ) .
, .
,
ProductName (. . " "
). ,
. , .
FirstWordProduct:
Left([ProductName], Instr([ProductName], " " - 1 ) )
: " ,
". Banana
Cream Fudge Banana,
.

. 7.7. Left ( ), Right ( ) Mid ( ) Like,



,
(. . " " ).
Access .
, Now () Date (),
4. .
, , .
:
=<Date ( )
DueDate ( )
, DueDate , .
DatePart (),
. DatePart () ,
( ).
DatePart () Date () , , .
DatePart("m", [DatePlaced])=DatePart("m", Date())
And DatePart("yyyy", [DatePlaced])=DatePart("yyyy", Date ())

, And. , DatePlaced:
DatePart("m", [DatePlaced])=DatePart ("m", Date( ))
, ,
, :
DatePart("yyyy", [DatePlaced])=DatePart("yyyy", Date ( ))
DatePart ( ) ( )
, . m
DatePart ( ), , , . . 7.5 .
7.5.

20 , 2006 . 1:30
2006

1 4

1 12

, 1 365 ()

51

d
w

1 31
, 1 7

20
2

7.5 ()

ww
, 1 52

20 , 2006 . 1:30
8

, 1 24

13

, 1 60

30

, 1 60

, .

, ,
. (, . ,
, Access ,
,
. "/ " 2. ,
.)
: Date ( ) ,
0. , 4 2008 ., Date ( )
4 2008 . ,
(12:00 a.m.)
, ,
0. ,
(. . 2.3) DueDate, , .
=<Date ( ) Access
, , ,
. ,
16:00 .
, , : <(Date()
+l)
Date () +1 . ,
, .
, Access Now (),
. , , ( )
:
=<Now( )

,
DatePart ( ), DateAdd ( ) DateDiff ( ). . 7.6 , .

7.6.

7. ,



Date ()

Date ()

253

1/20/2006

Now ( )

Now ( )

1/20/2006
10:16:26 PM

Date Part ()

(, ,
)

DatePart (#1/20/
2006#, "d")

20

DateSerial( )

,
Access

DateSerial (2006,
5, 4)
Da teAdd ("yyyy" ,
2, #22/ll/2006#)
DateDiff ("w",
#10/l5/2006#,
#l/ll/2007#)

5/4/2006

DateAdd ( )

22/11/2008

DateDiff ( )

12

MonthName ( )

,
( 1 12)

MonthName (1)

"January"

WeekdayName ( )

,
( 1 7)

WeekdayName (1)

"Sunday"

Format ()


( ,
. 2.3)

Format (#27/04/
2008#, "Long
Date")

"April 27,
2008"

Access ,
DatePart ( ). Month ( ), .
Year(), Day ( ), Hour ( ), Minute ( ) Second ( ).
, ,
.


: . , ( . " " 4),
. (null), .
, ,
: Is Null
.
CustomerID Orders , . , :
Is Not Null

( ) .
- . , Nz ( ).
Nz () . ( , ) . , , Access .
, Nz ( ) 0
Quantity:
Nz([Quantity], 0)
0 Nz ( ),
, , :
Nz([Quantity])
, ,
. , ,
, .
:
OrderItemCost: [Quantity] * [Price]
, Quantity .

. ,
. ,
OrderItemCost . ,
OrderItemCost , . ,
.

Nz ( ): OrderItemCost: Nz([Quantity]) * Nz([Price])
, Nz ( )
, - .
, ("Not Entered" )
, :
Name: Nz([FirstName] & [LastName], "[Not Entered]")


, , .
143 Orders, 143 .
.
.

:
;
, ;
, ;
;
, ;
, .
, ,

( totals query ). ,

.
:
1. ,

(Create Other Query Design ).
2.

(Show Table )
(Close ).

Fudge .

Products Boutique

3. , .

Price , : Price
,
.
4. (Query Tools
Show /Hide Totals ).
Access
.

Total )

5.
.
.
.
.

( ,
. .).
. . 7.7
.
.

.
, .
.

( WHERE ). ( , ,
, WHERE ,
SQL , . " " 6).

, Access

.


,
, .

(. 7.8) Price : Max,


Min Avg.

. 7.8. : Price
. , ,
. : ,
, Boutique Fudge


. 7.7 ,
.

StDev Var

7.7.

,
Sum

Avg

Min

Max

Count

( ,
)

First

Last

,
.
, CategoryID, , :
=3
, CategoryID 3 (
Candies ()).

,
, ,


.


,
. 7.8.
.
, ,
, . , , . , .
, ,
. . 7.9 .

. 7.9. : . :

,
.
. ,
. " ". . 7.8 , ,
OrderDetails Boutique Fudge, CustomerID.

7.8.
CustomerlD
ProductID
TotalSales
10
108
$432.12
10

134

$16.79

7.8 ()
CustomerID
10
14
18
18

ProductID
210
144
112
210

TotalSales
$53.30
$18.99
$107.04
$12.02

, 10 $432.12
108 . $16.79 134,
$53.30 210 . . (
ProductID, .
, -.)
, .
. , 10 . -
.

, .
- , 9.
,
, , III.


, (.
. " " 6)
. Boutique Fudge OrderDetails . ( ) . ,
, ,
.

, ProductID CustomerID,
(, , ).
, , , ,
, . . .

,
( Customers, Products Orders) .
. 7.10 .
CustomerID.

. 7.10. : , :
Customers, Orders OrderDetails, , .
$25. DatePlaced, ,
, , . .
: OrderID LastName FirstName,

, , . 7.10.
:
1. , (Create
Other Query Design).
2. (Show
Table) (Close).

. 7.10 Customers, Orders OrderDetails.


Access
, .
3. |

(Choose
Query Tools | Design Show/Hide Totals).
.
4. , ,
.
.
.
o

OrderID . ,
OrderDetails
OrderID.
. ( , , OrderID
OrderDetails Orders .)

OrderTotal , [Price] *
[Quantity] OrderDetails.
. Access
,
Sum. OrderTotal >=25,
$25.

o
LastName FirstName , .
.
( OrderTotal) (
OrderID). ,
.
, . ( ,
OrderDetails ,
. .) Access
LastName FirstName,
.

, .
, Access .
( , ),
OrderID CustomerID.
, ,
ProductID Products,
(, ProductName Description).

5. .


Access.

. Access .
.
. ,
, . ,
New York Customers, CaliforniaCustomers, Ohio Customers . .
, .
, , . ,
.
:
1. ,
(Create Other Query Design).
2. (Show Table)
(Close).
Customers.
3. |
(Choose Query Tools | Design Show/Hide Parameters).
(Query Parameters).

. 7.11. , . , CustomerState

4. (. 7.11).
( ,
).
, .
. :
, , /.
5. .
,
. , State:
[CustomerState]
, , Access ,
.
Access (Enter Parameter Value) (. 7.12). .
State.

. 7.12. .
-

, ,
. , Access
. ,
.

, , .

.
.
, ( ). ,
IV,
.


. ,
.
Access , .
, . , , , ,
(action query).


,
.
. ,
( , , . .). ,
.
, , , .
- (,
), .
,
.
- , ,
. , .
, .
.
, ,
,
, .
, .
. ,
15% , , 403,
404. ,

. ,

, .
, , , .

, ,
. ,
,
. ( . . " " 7,)
, (
) ( ).

( )
, . ( ),
.
.
(
, ), .
! ,
, .
accdb ( ;
).
Windows, , Access, Office
(Office Manage Back Up Database) (. . " "
1).

, ,
.

,
. .
, ,
(

(Query Tools Design Query Type)).


Access :
;

;


;
.
.


.
, Access ,
. .
. ,
CategoryID.
( , ).
10% .

, ,
(. . "" 2).
,
.

Products Products Categories


Boutique Fudge ( . " " 5).
Beverages (), 10%.
,
"Missing CD" Web- www.missingmanuals.com.
.
1. , (Create
Other Query Design).
(Show Table).
2. , ,
(Add) ( , ,
). (Close).
,
, .
(, . " " 6).
,
- .
Products ProductCategories.
3. , |
: (Query Tools | Design Query Type
Update).

,
. (Sort) (Show) (
) , ,
(Update To).
4. ( ),
(Criteria).
, Access.
, ,
.
CategoryID CategoryName.
CategoryID, (ID) .
CategoryName,
.

, .
, , . 8.1.
, .

. 8.1. Beverages

5. ( ), .
Price, ,
.
6. , .

. ,
. , Access
.
, . , 7
, . , Price
10%:
[Price]*1.10

(. .
" " 7). Access ,
, (, ).

7. ,
.
,
, , (,
, , , ).
, , ,
, , ProductName.
,
. Access ,
.
ProductName, - .
[ ProductName ]. Access
ProductName ProductName. , Access
, ProductName
.
. 8.2 .
8.
(Datasheet View) , (. 8.3).
, ,
. ,
, , ,
, , .


. ,
, . ,
.

9. (
(Design View)). ,

, |
(Query Tools | Design Results Run)
.

. 8.2. 10%

. 8.3. . Beverages
. ,

:
.
, Access ,
(. 8.4). (Yes)
.

. 8.4. : Access , .
, ,
Access . (
). : Access
. ,
. , Access

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

10. <Ctrl>+<S> (
). .
, , . ,
, UpdateProductPrices ( ).
.


(. 8.5).
, , .
( - )
.

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

.
Access
Access: , ( 9 ),
? , ,
. , Access
, , "
" ("The action or event has been blocked by
Disabled Mode"). ?
Access - .
, , .

. " " 1, , ,
Access . ,
. ? ,
.
. , ,
, . (


(Database Tools Show/Hide Message Bar).)
(Options)
Microsoft Office
(Microsoft Office Security Options).
(Enable this content) .
Access ,
.
, Access (
, , ,
).
,
. Access
. . " "
15.


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


(. . " " ) .

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

FirstName F_Name ,
.
. ,
, . ,
, Access
(. . " " 4).
(,
(Required) , . "
" 4), .
Access .
, (. . "
" 5)
(. . "
" 4 ).
,
. Access .

.
() ,
(ID), .

Access , ; ,
:
.

( )

. Contacts ()
Marketing.accdb PotentialClients ( ) Sales.accdb. (
"Missing CD" Web- www.missingmanuals.com.)
1. -.
Marketing.accdb, .
2. ,
(Create Other Query Design).
(Show Table).
3. -, ,
. (Close).
Contacts.
4. , |
: (Query Tools | Design Query
Type Append) ( |

: (Query Tools Design Query Type Make Table)


).
( PotentialClients Sales.accdb) .
.
, Access (,
), . 8.6.

. 8.6. Access , .
. ,
, ...

5. ,
, ... ,
.
Sales.accdb.
,
.
( ), Access
.
6. (Table Name) ,
.
, -
, .
.
,
, Access .
PotentialCIients.
7. ,
.
8. ( ), -.
, . FirstName LastName.

9. ,
(Append To).
FirstName F_Name.
Access FirstName -
F_Name (. 8.7). LastName
L_Name.

. 8.7. Contacts Marketing


PotentialClients Sales. ID , ID
ID . ( ,
ID Contacts PotentialClients ,
.)

10. -,
.
Access, ,
-.
.
,
, .
,
,
.
11.
, .
, .

12. , ,
j
(Query Tools Design Results Run).
Access , .
. Access
, ,
.
-
. -, . " " ,
13. <Ctrl>+<S> (
). .
, .
, 1
Access : , 1.
2, Access , 1. ( ,
, . "
" 2.) ,
. , Boutique Fudge
1000, 5000,
10 000. .
,
, ,
1.
, ( ) Access
. ,
, .
. , Access , . ,
999, Access 1000 . .
.
1. ( (Create Tables Table
Design)).
.
2. . ,
, .
(ID).
3. ( ) ,
(Long Integer) ( ).

4. .
, Access ,
, 1 . Access ,
.
5.
, 1 ,
.
100 ,
99. .
6. ( (Create Other
Query Design)).
(Show Table)
(!.) (Close).
7. J :
(Query Tools | Design Query Type Append)
.
Access , ,
, .
8. , (
(ID)).
Access , , .
9. |
(Query Tools | Design Results Run).
, Access ,
.
10. , ,
.
, ,
.
11.
, 1,
.
. ,
,
Access
. (
),
.


.
, :
, Access .
, .


, .
. . " " 1
, .


. , , , , .
.
.
1. ( (Create Other
Query Design)).
2. ,
, .
.
3. , |
: (Query Tools | Design Query Type
Delete).

(Delete).
4. , , .
, ,
. , Access
.
5. ,
.
, , ,
,
, . (*) .
(From), , ,
.
. 8.8 .
6.
, , .
, .
(*), ,
.
7. , ,
|
(Query Tools | Design Results Run) .

. 8.8. , (
DatePlaced ( ) 1900 .). (*) ,
,
,

Access , .
, .
8. , <Ctrl>+<S> (
). .
, .
, .

.

,
, Access .
, .
. , ,
.
,
(Hide in this Group).
.

(- )
(Navigation Options).
(Show Hidden Objects).
, , . ,
(Unhide in this Group).

, . ,
,
.
,

. . "
" 18
.

: ,

Boutique Fudge .
, . ,
, Mocha Malaysian Espresso
Milk ( ).
, .
, , ,
, . Boutique Fudge
( ), ,
, , .
Boutique Fudge ,
Orders, ,
- .
, OnHold ( ). ,
, , ,
. , , .
. : Boutique
Fudge OnHold.
, UnitsInStock ( )
Products OnHold , , " " (out-of-stock). ,
, .
Access, .
:
, , , ;
, OnHold , .

,
, ,
.

, :
Products, . . ;
OrderDetails, , .
OrderDetails , a Products .
, ,
OrderDetails, .
, .
UnitsInStock ( Products).
.
0;
OrderID ( OrderDetails).
.

. 8.9. ( OrdersWithOutOfStockltems ( ))
, . UnitsInStock ( )
, ( ).
( , )
( )

. , ID
, ,
. (, , ,
, ?)
Access
, .
1. |


(Query Tools | Design Show/Hide Property Sheet).
Access (Property Sheet)
.
2. (,
).
: : (Selection Type: Query Properties).
3. (Unique
Values) .
. .
8.9 .


, .
,
OrdersWithOutOfStockltems, .
? ,
. Orders :
ID , ;
OnHoId .
,
OnHold ( ). . , , ID,
OrdersWithOutOfStockltems. ?
.
-, In, ,
.
In:
In (14,15,16)
14,15 16, ID .
, OrdersWithOutOfStockltems.
:
.
, .
SQL, 6.

SELECT, , ,
FROM , .
SQL , ID ()
OrdersWithOutOfStockltems:
SELECT OrderID FROM OrdersWithOutOfStockltems
, ,
. :
In (SELECT OrderID FROM OrdersWithOutOfStockltems)
ID. (ID)
OrdersWithOutOfStockltems
Orders. . 8.10.

. 8.10. (PutOutOfStockOrdersOnHold (
)) , Boutique Fudge .
OnHold. ,

, , ,
. , ,
.

Access .
.
,
- .

(. . " " 7). ,

.
: .
,
. .
. ,
. Access.


. , ,
.
AdventureWorks , Microsoft
. Web- "Missing CD"
( www.missingmanuals.com) .


,
. ,
7.
, :
.

.
.
.
, ,
. . .
, . ,
.

. ,
.

. 9.1. : ,
. 24 ,
. : Access
( ) (
) . , , ,
, 6


Access .
. ,
, ,
. 9.1. ;
, ,
( . 9.1).
. 9.1 , :
. , .
(
, , ,
.)
.
. ,
, , , . 9.2.

. 9.2.
.

, (
) .

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

.
;
: ?
, ,
. , ,
.
( , ,
. 9.1), . ,
, .
(,
), . -

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

. ,
, . 9.3.
,
, ,
.

. 9.3. : .
, . ,
,
.
, . 9.2


Access : . Access , , ,
.

.

, .

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

(. . "
" 6) .
.
,
.
.
AdventureWorks OrderedItems,
, . OrderedItems
, - (
SalesOrderDetails),
SalesOrderHeader ( ), Customers,
Products, Store ShipMethod.
, ,
, . ( ,
AdventureWorks "Missing CD" Web- www.missingmanuals.com.)



. , , AdventureWorks.
1. ,
(join query).
Orderedltem
, , ,
, . . , , . . " " 6.
, ,
.
2. (Create Other Query
Wizard).
. (New Query) , .
3. (Crosstab Query Wizard) .
(. 9.4). (View).
4. . ,
, . .

OrderedItems.
,
(. 9.5).

. 9.4. ,

. 9.5.
>

,
( ).
. ,
. ,
,
() . . . 9.2.
5. , ,
.
Orderedltems State Province.
,
. , , StateProvince
Country. , . "
" .
,
(. 9.6). .

. 9.6. Access -
.
StateProvince, ProductCategory

6. .
ProductCategory.
,
.

(. 9.7).
, ,
, . .
OrderQty.

. 9.7. Sum OrderQty . ,


, 53 Bike ()
. , (
),
Count SalesOrderID

.

, ,
? ( ),
, .
( ),
.
, , ,
, . (
, 480 .) ,
, .
8. ,
? (Yes, include row sums).

. ,
,
,
(. 9.8).

. 9.8. ,
(
)

9. .
.

. , .
.
10


, . ,
.
1. (Create Other
Query Design). Access .

2. (Show Table) ,
, .
AdventureWorks, (Queries)
Orderedltems.

,
, .

3. | :
(Query Tools | Design Query Type Crosstab),
Access .
.
(Crosstab) (. 9.9).

. 9.9. , ,
: , .
, , ,
( , , )

4. , .
.
.
(Row
Heading) .
,
,
. ,
. , ,
,
.
.
(Column
Heading) .
. ,
.

.
, ( Sum, Count, Avg
. .), (Value) .
.
, , .
, , . 9.1 9.2,
Revenue: [UnitPrice] * [OrderQty]
.

, ,
. . 9.10 ,
.

. 9.10. , OrderQty .
, . ,
.
Total Of OrderQty ( )

.
(Where) ( ) (not shown)
. . (.
. " " 6.)

, . ,
, ,
. ,
.

. 9.10 ,
(. . 9.8).


,
Access .
, ,
. .
.

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

Access ,
. , ,
(, Microsoft Excel).
,
, ,
, .


Access .
.
Access ,
.


.
, .
, .

(Pivot Table) ,
,
(Home Views View PivotTable View).
(. 9.11).

. 9.11. Orderedltems .
, .
,


.
, ,
.
(, , ).

Access , . :
;
;
;

. (
);
,
, .


, , ,
.

. ,
, .
, OrderedItems
AdventureWorks, Web- "Missing CD"
www.missingmanuals.com. , .

? "Missing CD"
, .

1.
ductCategory (Drop Row Fields Here).
, Access
(. 9.12). ,

(Sort Sort Descending).

,
I ->
- (PivotTable Tools I Design -> Show/Hide -> Field List).

. 9.12. ,
( ) . , ,

2. Country
(Drop Column Fields Here).
, Access . , .

,
. ,
, ,
. (Add to)
( ).

3. . OrderQty
(Drop Totals or Details Fields Here).
( Access , ).
OrderQty , . . (
) (. 9.13).
4. .
OrderQty ( OrderQty)
(AutoCalc).
, , , . ,

, , .

. 9.13. OrderQty Orderedltems,


. ,

, ,
. (Totals)
. ( +/-,
.)
(Delete).
5.
OrderQty
(Hide Details).
, , (. 9.14).

, ,
. ( OrderQty)
(Data Area).
.
, . ,
.

. 9.14. ,
. ( ),


. .
, .
.

(Remove). Access (,
X) .

. , ,
(Country) , (ProductName) .

(Sort
Sort Ascending) (Sort Sort Descending).

( ).

. ,
.
.
,
.

.

. ,
, StateProvince
Country, . 9.15.
, ProductName
ProductCategory.

. 9.15. : StateProvince
(
, .

Country .

Country )

Access

, .

( StateProvince )

: StateProvince

Country . , .
, .
, ,

, ,
.
, |
(PivotTabie Tools | Design Data Refresh Pivot),
Access .



. (
) .
,
.
,
.
1. |

(PivotTable Tools | Design Tools Formulas Create Calculated Detail Field).
(Properties) ,
(Calculation) (. 9.16).

. 9.16.
2. (Name) .
, TotalRevenue.
3. , , ,
.
, , [UnitPrice] * [OrderQty].
Access .
( .
" " 7.) , , .
(Insert Reference To).

4. , , ,
.
, ,
(, )
. (Format),
, ( )
TotalRevenue, ,
, .
5. ( )
(Change)
.
(Hide Details)
, .
.
,
|
(PivotTable Tools | Design Show/Hide Show Details), .
.
,
.
.
6. ,
(, ),
,
.
, .
. ,
,
. (
"Sum of TotalRevenue" ( TotalRevenue)),
, .
(Caption) (Name).
. 9.17 .

.

, (
). , Access
" " (layout changes).
:
,
. ,

.

. 9.17. ,
. : (TotalRevenu)
(OrderQty Sum)

, , ,
.
. ,
.
?
. , .
IV. ,
.
,
.
.
1. , .

2.
(Create Forms More Forms PivotTable).
3. .
4. .
5. Office ,
( , Access ).
.
6. , , , ,
SalesPivotTable. ,
.


,
. , , , .
, . 9.17. ,
. ,
,
? , , .
+/-,
(. 9.18).
.
,
.
(Show Details). , , ,
(
).


,
. ,
, Access ,
, .
.
, , . .
, ,
. ,
, .
(. 9.19). ,
, .
,
, .

. 9.18. "" (+) "" (-) .


Accessories. , ( )

. 9.19. ,
. ,

, .

(Drop Filter Fields Here). ,
.
,
, .
Access . , ,
.
ProductName
(Show Top/Bottom Items). ,
( 1, 10, 25 . .) ( 1%,
10% . .). . 9.20 .

/ ,
(AutoFilter) ( ).
, , .

.
.

/ ,
, . ,
, . 9.20,
. "/"

ProductName, 1% .
ProductCategory, 1% .
, ,
, .

. 9.20. . ,
,

, , , Components
, , , .
ProductCategory, . ProductName, , .
Clothing .

,
. , ,
, |
(PivotTable Tools | Design
Filter & Sort AutoFilter).


Access , .

. ,
, |
(PivotTable Tools | Design View
PivotChart View)
.

. 9.21. ,
. .
.
( ), ,

, ,
, .
, . 9.21.

|
(PivotChart Tools | Design Show/Hide Legend)
(legend box).
, .
, , ,
, .
, ,

. , . 9.21, ,
Country .
, . ,
.
, . , . (,
, ),
, , , , .


.
. ,

, .


, , . ,
(Change Chart Type). . ,
,
.
.
(stacked bar or column chart)
(. 9.22).

, ,
. (. 9.23).

. 9.22. .
. ,
.
. ,

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

. 9.24. ,
. , , ,


. |
(Properties).
(3D View), ,
.


,
Office ( Office ,
, ).
,
. , . .
1. - (,
Bikes Australia).
2. ,
. , Bikes

Australia (), Bikes ,


.
3. |
(PivotChart Tools | Design Tools Property Sheet)
.
4. (Border/Fill). ,
( )
.
5. , ,
.

III

10.
11.

10


Access
. , :
. ,
, ;
, Access. ,
, ;
. ,
;
. ,
286 .
3 .
, .
,
,
. , , , Access
, .
, Access
.
, .

. ,
. , -,

.
,
. ,
. ,
, DollInventory.
, DollPrices.

, , 6.
,

- ,
.

. 10.1. , , .
Description Dolls. .
( ),
. ( ),

. 10.2. ,
. , , Description.
, .


, . 10.1 ( )
. 10.2 ( ). ,
, .


. ( ,
) , .
( )
. .

, ( ). 11.



. , Boutique Fudge
( , . ""
) .
1. , .
Products Boutique Fudge.
. . . "
. "
).
2. (Create Reports Report).
.
,
( ) .

, . 10.2.
, ,
. .
, , .

, .
. " "
.

3. , ,
.

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

. 10.3. . .
, Access , ,
. , ,

, .
, . ,
,
. ,
(. . " " 3),
.

4. ,
.

.

.
, <?> <>
.

5. , , .

( ) |
(Report Layout Tools | Formatting Font).
, .
. " "
.
6. .
, .
. " " .
7. : Office (Office
Print).
(
Office , . ",
" ).
8. .
, <Ctrl>+<S>.
, Access . .
, . , Products, Products.
(, Products By
Category ( ), ProductListForDealers ( )
Top50Products (50 )). , . 10.2,
ProductCatalog ( ),

.
.
.
, .
, ,
(
ductCategories). , ,
.
(, )
.
, Categories ()
Products (. . " " 6).

,
(Create Reports Report)
. .


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

. 10.4. : , .
:

( ).
, (, Products).
( ).
.
. , .
(Layout) Access , , ,
, ,
.
( ).

( ) (
).
(, ). Access
. , ProductCatalog. Access
Price,
. (
|
(Report Layout Tools | Formatting Grouping & Totals Totals).)

, <Delete>.
, , .


, ,
, , . :
<Delete>. (
Discontinued ( ) ProductCatalog.)
,
, , , .
, ,
:

, (. . " "
3). , ;

.
, ProductCategories
, .

, (Field List)
(. 10.5). |
(Report Layout Tools | Formatting Controls Add Existing
Fields).

. 10.5. ( ),
.

( , , ).

, Access
, . ,
Product Name ( ), ProductName.
ductCategoryID Category. ,
,
ProductCategoryID (. . "
" 5). , .
.
.

.
.
?

.

,
. , ,
.

.

(.
. "" 2).

( BMP,
JPG, GIF, TIF, WMF . .).
,
(, Microsoft Word doc).

. ,
,
.
,
.

. 10.6. Bobblehead,

Dolls - ,
, . 10.6.
.
(. . 10.5). ,
, Picture,
"". ,
, : Picture.FileData (
, ), Picture.FileName ( )
Picture.FileType ( ). ,
.


, . ,
, .
.
.
. ,
.
.
. , ,
. ,
Access , ,
, ,
.
, (, Microsoft
Word). . 10.7 , .

, ,
. " " .

. ,
. ,
, ,
. (,
) .
. ,
. , ,
. ,
Access, ,
.
11.

. 10.7 . ,
,

,

Windows


Access ,
.
, .

,
. (

Access. .)
, .
.
,
.


, .
. .
, ,
. ,

, ,
, .
, .
1. (Create Reports Blank
Report).
. ,
.

. 10.8. .
, . (. 10.9)
(. 10.10) Access

. 10.9. , .
. , ,
,

. 10.10. ,
. (
. ,
Access , .)

2., , ,
, .
. , ,
.
.
3. .
, - .
, ,
.
4. , , ,
.
, . ,
, .
| (Report Layout Tools |
Formatting Controls) (. 10.8).

,
, .
.
Office (Print).
87-
24 , .
Access ,
(Print Preview).


, .
Office.
, ,
, .

, ,

Office (Office Print Print Preview).

,
(. 10.11). ,

(Print Preview Close Preview Close Print Preview).
. ,
, Access ,
( ,
3).
,
. " " 3,
( )
.
, (Portrait) (Landscape)
( )
( , ).
, . ,
, , .
, , ,
.

( 8.5x11
Letter). , .
, , ,
. .

Access , .
(Print Data Only)
, ,
. ,
.
(Columns)
. , . ,

,
, . . . "
" 11 ,
.

. 10.11. .
, .

, ( ).
,

( )
.
| (Report Layout Tools | Page Setup),
, .


,
, .
(Print Preview Data)
,
Access . ,
.
, Access ,
. (
, 19.) ,
, .
RTF (Word). ,
Microsoft Word. Access
. ,
,
Word.
Word, .
Document HTML. HTML, Web-
. ,
Web- ( ?).
,
, .
(Snapshot Viewer).
snp ,
. ,
Snapshot Viewer Microsoft.
( Web- http://office.microsoft.com
"Snapshot Viewer".) , Snapshot Viewer
,
PDF- ( ), . (
, Snapshot Viewer Office.)
PDF XPS.
( ), , Access (,
, Windows), .
Access.
(
, ).

.
PDF-
, PDF Adobe,
,
.

PDF ,
. ,
XLSX, PDF- , .
PDF- ,

Adobe Reader.
www.adobe.com/products/acrobat/readstep2.html, , ,
. Adobe Reader ,
( ,
). Adobe Reader
.
PDF . Microsoft Windows Vista , XPS (XML Paper Specification, XML).
XPS , , PDF,
PDF ,
.

, , .
1. ,
.
2. , -> (Print Preview
Data) .
,
RTF (Print Preview Data Word) Word .
(Print Preview Data More),
PDF-, PDF (
).
3. (: 10.12).
.
4. ,
(Open the
destination file after the export operation is complete).
, Word ;
Access , Word .
, .
, .
5. .
, .
, .

. 10.12. Access , (, ProductCatalog.rtf,


ProductCatalog RTF-, Word).

, .
, . ,
, .

6. , .
, . ,
Word ,
, .
19, .

, .
.
(Export) ,
PDF- HTML-. ,
,
, dBase, Paradox
Lotus 1 -2-3.

"Save As PDF"
PDF- "Save As PDF
or XPS" ( PDF XPS).
www.microsoft.com/downloads "PDF".
,
.
Office
PDF-. Access
PDF XPS (Print
Preview Data PDF or XPS), .

PDF XPS (Export PDF or XPS).
PDF-, Publish as PDF or XPS ( PDF
XPS). PDF-
( , ).
, , PDF-,
, .
Publish as PDF or XPS
Optimize for ( ). PDF , ,
Minimum size (publishing online) (
( )) . ,
, , , ,
Standard (publishing online and printing) ( (
). PDF- ,
.
, PDF-,
Options... () ,
.
.

"Save As PDF or XPS" ,


. Access , PDF-,

Adobe Acrobat. "Save As PDF or XPS"
Office ( - ),
Microsoft
. , PDF-
Office, Word, Excel PowerPoint.

.

u ?
Access.
.
?
(
19). .
, .
(, Products, ProductCatalog
, .)
, ,
. ( 11.)
, .

, . PDF, HTML- , .
Office, , Word Excel,
.
, ,
.
19 .


,
. .
,
-, , .
, , ,
, .

( . 10.13) ,
| (Report Layout Tools | Formatting
AutoFormat AutoFormat).
, .
, ,
, .
HTML-.
. .

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

, .
, .
.

.

|
(Report Layout Tools | Formatting Auto Format AutoFormat
AutoFormat Wizard). (AutoFormat)
. (Options)
: (Font), (Color) (Border).
, ,
.

|
.
(None) .


, |

.
(Create a new
AutoFormat), .
.


,
. .
.
-, , . -,
|
(Report Layout Tools | Formatting Font) (. 10.14).

. 10.14. |

| ;
( Calibri 11 ,
);
( , , );
.

, ,
,
. .
. . 10.15
.

. 10.15. ProductName . ,
, Access

. ,
ProductName , ,
Price, Chocolate Jasmine Tea ,
Prince's Peppermint Patties.
,
Access.

, (. .
" " ) , Access,
, .

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

, Word Excel. Access .
,
,
.
, .
1. ,
.
2. , .
3. |
(Report Layout Tools j Formatting Font Format Painter).
4. .
5. ,
.
, . : Access
.


|
(Report Layout Tools | Formatting Formating)
(, Price ProductCatalog).
, .
(General Number) . Access
, .
(Currency)
(
).
, $1,111.992.
(Euro)
.
(Fixed)
. ( ,
(Increase Decimals)
2

, ,
. .

(Decrease Decimals), . 10.16.) -


.
(Standard)
, ( 1,111.99).
(Percent) , ,
1.0 100 . 48, Access 4800.00%. (

.)
(Scientific)
, 48 4.80+01 ( ,
4.8, 101, , ).

.
.
,
(Increase Decimals) (Decrease Decimals)
| .


, :
.
, .

.

.
|
/ (Report Layout Tools | Formatting Font Alternate Fill). (
. / (Fill).) ,
.
,
/ ,
.


, .
, .
, . ,

, .

,
. Access , ,
, .

.
.

| (Report Layout Tools | Formatting Gridlines Gridlines)
(. 10.16). |
, (, , . .)
. " .
" .

. 10.16.
: , , . .
(, , . .),

. ,
. ( )

.

.

- , . ,
ProductName,
.
.
.
1.
(Properties).
(Property Sheet).
, .
( IV)
VBA (. V).
2. ,
.
, ProductName,
.
3. (Format).
, , ,
, .
4. , .
, (Gridline Width Left)
(Gridline Style Left)
. , , ,
(Gridline Color)
.

.
,
, .
| (Report
Layout Tools | Formatting Controls) ( ,
). ,
.
, .


. - ,
. , ,
, 100 , -,

, , . ,
.
,
, , , Access
.
.
1. , ,
, 100 ,
Price. ,
.
2. | (Report Layout Tools
| Formatting Font Conditional).
, ,
. , ,
.

(Conditional Formatting) .
, .
3. ,
Access.
,
, ( ), ,
(). ,
.
,
. , , ,
. ,
, Access . ,
, , Access .
, ,
.
. 10.17 , Price.

"" . , " 1 10",


1, 10 . , Access
0.99, .

4. (Format) ,
, .

. 10.17.
, 50

. 10.18.

,
.
.
.
, (Add )
3.

, 50
, 100 .
, Access
.

, .
, 100 499,
500.

(Delete). Access
.
.
6. .
Access
. . 10.18
.


,
3. ,
, 11.


ProductCatalog Products.
. ,
,
. ProductCatalog
, . , Boutique Fudge
, .
, , .
: , ,
. ,
, ,
(, , . .).
.
, ,
,
. , , ,
,
.

, .
.

,
, . 10.19. ,
CategoryName Beverages ().
,
.
Beverages, , ,
Beverages (, Alcoholic Beverages ( )) . .

. 10.19. , ,
. ,
"Beverage"

,
.
. , CategoryName,
.

Price, .
, .

. . "" 3.
.
... (Clear filter
from...).


, .
, ,
. , ,
, .
, ,
.
.
, ,
, .

. ,
(, , ,
,
), .

11

-
, .
, , .
,
, , ,

.
Access, ,
. . ,
, Access
.
. , ,
.
,
.
, , ,
, ,
. , ,
, .
,
.


, .
, .
.
, Access , .
,
.
, . , , (. 11.1).

.

. 11.1. .
, .

Access

), Access

,
,
, . ,
,
.


.
, ,
.
(Report Header). ,
. , .
(Page Header).
.
, , ,
.
(Detail).
. ,
.
.

(Page Footer).
. ,
.
(Report Footer). .
, ,
.
,
, .
, Access
, . , Access
ProductCategoryID, ProductName, Price Description
.
,
. , .
, . .
. . 11.2 , .

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

, . . 11.1. , , .
.

,
. ( ,
.)


. Access
: , ,
. .
(
).
. 11.3 , .
, .

. 11.3. , ,
. ,
.

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

,
. ( , Boutique Fudge
; . Web- "Missing CD"

www.missingmanuals.com.) ,
.

.
,
, .
,
. ,
Access .
, .

| -* (Report Design Tools | Design
Font).
, .
,
(, ,
) , , .
, Access .
,
. , .
,

.


Access , .
, .
Access 2007; ,
10:
,
;
, Access
;
, Access
. , ,
.
. ,
, .
.
, ,
, . ,
, ,
. 11.4. ,

.
,
. 11. 4. , ,

"". Access - ,
.

. ,
.
. ,
(layout containers).

,
, . 11.4.
1. (
).
, .
, Access
. ,
Access . ,
, ,
.

2. , .
(Layout Remove).
, . ,
, ,
( . 11.4).
<Shift>,
, (Layout Remove).
(
, .)
3. .
.
,
, .
, , .
4. , (
. 11.2).
. , .
5.
.
, ,
. , Access
. ,
.
6.
. <Delete> ,
.
,
. , .

, .
. 11.4 UnitsInStock ( )
UnitsOnOrder ( ).
7. , .
, .
,
| . <Shift>, (
) .
,
. . 11.5
, . 11.4.

. 11.5.


. ,
. Access , ,
, .
:
, ,
, , . .;
;
;
(
, . " " 10,
).
.
. ,
|
(Report Design Tools | Design Controls), . 11.6.

. 11.6. ,
, . ,
Access , .
.
.

, ,
.
, , (
15) .
.

. , .
, ,
.
.
,
. ,
.

.

, .
,
, (,
).

, Access ,
, ClipArt, Office.
.

, .
11.7.

. 11.7. : .
, ,
. : , . ,
.
( ),

, , .
, , .
,
,
( I- ).
.

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

, , (
|
(Report Design Tools | Design Font)).
, Access
, .
|
(Report Design Toots | Arrange Position Send to Back).


.
,
. , Access
, .

.
, .
1. (Create Reports Report Design).
.
2. |
(Report Design Tools | Design Tools Add Existing Fields).
(Field List)
.
3. , ,
.

. 11.8. ProductName.
,

Access :
, , , (. 11.8).

Access , ,
,
.
.

.
,
. , . .
11.9 , .
, <Delete>.

. 11.9. , ,
, .
,

5. |
(Report Design Tools | Design Tools Controls)
(, ,
).

.
6. , .
|
, , ,
|
, .

,
, .

,
(. . " " 10).

7. ,
/ .
.
. , ,
, .
,
.
8. ,
.
,
. ,
.
9. .
, Office
(File Save) ,
Access .


. . Microsoft
.
.

, ,
, .
( 10),
.


. .
, .
1. (Create Reports Report
Wizard).
.

2. , .
(Available Fields) .

, , , ,
(. . 6.11).

3. , , . 11.10.
.
, .

. 11.10- >
.

4. .
.
, , . " " .
5. ( ), ,
, .
, .
6. (. 11.11).
.
o
(Columnar) ,
. , .
, .

o
(Tabular) ,
10. Access .
o
(Justified) . . ""
. , ,
.

. 11.11. Access,

7. 90,
.
(Landscape)
, .
8. .
, Access .
, ,
.
9. .
, .
10. (Preview the report),
,
(Modify the report's design), .
.
Access
.

, .
.
( , ).


, ( ,
), Access .
, ,
.

.
,
,
.
Avery, , .
, .

, ,
Access .
Access .
, Word. Word
, Access
.

.
1. .
.

, .

, (join query) (. . " "


6), , .

2. (Create Reports Labels).


3. .
, (. 11.12).
4. ( ),
( ).
, ,
.

, , .
, Access.
Avery, . ( Avery
.)
,
.

. 11.12. 2160,

,
(Customize )
(New Label Size ) (New )
(New Label ).
.

5. .

(. 11.13).
6. , .
, ,
. ,
Access.
( ).
, Access .
7.
.

. 11.13. Access , ,
,

. 11.14.
, . <>.
(, ": " )

, (FirstName,
LastName, Street, City . .). Access
. { FirstName},
, FirstName.

. ( ,
.) . 11.14 , .
8. .
7 .
, ,
.
9. .
. (
, .
, ,
.)
, (. . "
" 6) (, ,
).
, Access
, .
10. .
.

. 11.15.

11. , (See the labels as


they will look printed),
, (Modify the label design),
. .

Access
(. 11.15) , .
, (
. .).
Access, ,
. ,
Access ,
.

. ( )
.
, . (
: .)
,
. , ,
, |
(Report Design Tools | Page Setup
Page Layout Columns). ,
.
, , .
,
, .


,
. ,
, .
, . ,
. Access.
,
, Access.
.

,
, IV
V.

|
(Report Design Tools | Design Tools Property
Sheet). (. 11.16).
.

.
, .
, Access

.
(, ProductCategoryID), (, Text3).

. 11.16. ( )
. ,
.

.
, e
:

(Format) , ,
, , ;

(Data) , . ;

(Event) Visual Basic, , - .


V;

(Other) (Name),
, ;
(ll) .


, ,
.

, .
(
(Report)),
. ,
(, , , ,
)
.
, , , ,
, .
, .
. 11.1, , .


, .
.
1. .
.
1. ,
(Back Color).
,
.
2. .
(...) . . .
, .
,
.
3. .
, .
.
, (ReportHeader)
(Detail), .


,
.
, ,
<Shift> .
.

.
, .
. 11.1 ,
.

11.1. ( )


,
(Text Align) . , Access

.
, .

,
,

(Text box)


(Format)

, Access ,
,
.
(. .
" " 7), Access
,
.
,
(, ). . " "
2

(Text box)

(Can Grow)

,
Access ,
.
,
,
.
, Access

(Report)

(Default View)

, ,

.

11.1 ()

(Report)



(Page (All Pages ),
Header )
.

,
(Page Footer)

(Display W hen)
(PageHeaderSection )
,



(Detail)
(Force New Page)


.
,
,

(Detail)

, Access
.
, Access


(Keep Together)


(None ), Access

,
.
(Before Section )
,
.

, . , ,
. ( ).
, , .
(=), .
.
, ,
. , =Date(),
Access .
. , 7. ,
, , .


, . ,
,
. . " "
7, & , .
:
=FirstName & " " & LastName

7, , , , , .

,
. . (Access
.)

. 11.17. : . :
Access

,
. .

,
(. 11.17).

.

#Error ?
#Error , .
Access ,
.
,
.
, . ,
. ,
,
, ,
, Access
.
Access ,
,
. ,
:
;
,' , ,
;
;
, , ,
=UnitsInStock+UnitsOnOrder
UnitsInStock, Access .
( UnitsInStockCalculation) . (
.)


.
. Boutique Fudge. ,
, , ,
, - ,
, . .
.
. .
, ,

. ( .
" " 7) .
.
.
.
.
. ,
. .

Access. Access 2007


,
. ,
.


.
1.
.
2.
, .
, .
ProductCategoryID (
), ,
ProductCategorylD.
. (
ProductCategories, , CategoryName.
,
.)

, Access , .
ProductCategoryID , , ,
. ProductCategoryID
, Access CategoryName
.

3. ,
, (, (Sort A to Z)
(Sort Smallest to Largest)).
, .
4 , ,
(Group On). Access
.
. 11.18 11.19 , .

. 11.18.

, ,
, . . .
,
( ). . 11.18
( . 11.19 , .)
, ,
(. . "
' ).

.
ProductCategoryID,
'ProductCategoryID' (ProductCategoryID Header), Access
(. 11.20).
, .
, .

, .
- Access .

. 11.19. .
, , ,
(
) , .
. , 11.20


,
, :
;
;
.
,
(Group, Sort, and Total).
| (Report Design Tools | Design Grouping & Totals Group & Sort)

|
(Report Layout Tools | Formatting Grouping & Totals Group &
Sort).

. 11.20. .
ProductCatalog 'ProductCategoryID'
ProductCategories (, Description)

, .
. 11.21 (. . 11.19) ,
.

. 11.21. ( CategoryName )
( ProductCategorylD).
(). . 11.22
,

. 11.22. ,
,

,
.

...
, . . 11.21
CategoryName ProductCategorvID.

...
, .
.

/
. ,
,
.


Access
. ProductCategoryID,
.
,
( ).
, .
, , , . 11.23.

...
.
. ,
(. 11.24).

. 11.23. , .
5 . 5
, 5 9.99 . .

, , ,
,
. ,
, , .
, .

...
,
, . ,
,
.

. 11.24. ,
()

/
.
.
, ,

.


.
, , Beverages
(), .
Access . Access
. ,

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

. ( ,
.
,
.)

,
.
.

. 11.25. , ,
, . , .
, Classes.

,

. 11.27.
, . OrderDetails
( Orders, Product Customer).
, ,
(, "Order History for" ( ) "Order #"
( )). Boutique Fudge ,

, ,
.
| (Report Layout
Tools | Formatting Grouping & Totals Hide Details). ,
. 11.27, Access ,
.

, .
(. . "" 3)
.

IV

12.
13.
14.

12


, , , , ,
, . ,
.
( - )
: .
, .
. Cacophone Studios
, Boutique Fudge ,
Gothic Wedding
. - , ,
, , .
(. 3),
. ,
, , ,
Access. : ,
.

, Access
. ,
, .
, , Access.


, ,
. Access
, , .
, Access , ,
, , .
.
.
.

, ,
. ,
.
. .
.
, ,
. ,
. ,
.
. , . .
, , .
,
, , - .
.
. Boutique Fudge,
Customers Orders,
OrderDetails. (
).
. :
, , ,
. , ,
(,
).
,
(front end) . , , ,
, .


, Access
. ,
. ,
. .
1. ,
.
Products Boutique Fudge.

, ,
. Categories (
Products), ,
.
13.

2. (Create Forms Form).


. (.
12.1). , (.
12.2).

. 12.1. Products .
Access ,
( ProductCategoryID)
(, Discontinued). (, Description)
, ,

, .
,
( , . "
"

2), , .
.

. 12.2. Customers Access


, .

, Access
, .
. ,
(. . " " 3).

, .
, |
(Form Layout Tools | Formatting Controls Add Existing Fields).
.
<Delete>. ,
, , ,
, .

3. , , .
, , ,
10, , .

(. 12.3).
4. .
, Access
.

. 12.3. . Access
. Price
ProductName. Access ,

. 12.4. Description .
, . Products

, . ,
,
.
,
. . .
12.4 .

, , ,
, .
, , . " "
.

5. ,
.
ProductCategoryID Category.
6. ,
, .
,
( ) |
(FontForm Layout Tools | Formatting Font).
Access .
. "
" 10, .
,
. ,
. . 12.5 .

<Ctrl>,
.
.

( ),
Access, ,
. |
(Form Layout Tools | Formatting AutoFormat) (
, ).
7. .
, Office (Office
Save). , Access
.

. 12.5. (, Price) ,
.
Price, UnitsinStock UnitsOnOrder. , Price ,

.

(.
. "" 2). , Access
. , , ,
(ID) .
Access. ,
, . ( ,
<Delete>.)
, .
- .
Cacophone Studios ID- .
, ID-,
.

(confirmation number).
Boutique Fudge, ID- . ,
( ?), ID-
.

ID-
. . ( ,
ID- .)


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

, . ,
.

,
.
.
,
.
.
.
.

.
.
Boutique Fudge
. ( )
.

:
ProductName, Price UnitsInStock.
, .
,
, .
, Price,
, ,
, .
Access,
, V, ,
(, 10%).
.
,
. ,
. , Boutique Fudge, (, ,
. .), , ,
. , (
, ).


, .

. ,
,
.
,
. .
,
.

. ,
. . " " 3
.

. , ,
, (, 100 ),
<Enter>. ,
,
.
. (
) .
, . 12.6.
,
(Home Find Find).

. 12.6. , <Enter>. Access


.
.
, (filter by form),
. , , . "
" .
, , ,
, . ,
(, "Exasperated Bananas" , ),
.
Access ,
. <Esc> .
, Access
. ,
( )
<Ctrl>+<Z>, .


, ,
, .
, .

, , ,
(. 12.7). ,
() (New Record)
( . 12.7).

. 12.7. , , ,
. - , .
Products Units In Stock 10

, , ,
<Esc>. <Esc> Access
. Access . ,
, .
, ,
Access .
. , ,
.

, .

2,
.

.

.
, .
, ,
.
,
. ,
, -
, . 12.8.
, . , .
, .
Word, Word. ,
(Notepad) . .
, ,
.
, .

. 12.8. : -. Access ,
( ). :
, - . -
, .
,


, , .
- (Home
Records Delete). . ,
. ,
<Delete>.
, , Access ,
. ,
.

, .
.

. 12.9. , ,
CustomerList. , . Access
, . ,

: Office .
, .
, Access , .
,
(Selected Records), .
,
Office (. 12.9).
,
.
,
,
.


, Access . ,
, 3. Access
,
, .
.


, , ,
. , ,
. ( , ,
.)
, . , , , . ,
,
. (
) ( , ).
.
(
) . . "" 3.

,
, .
, ,
.

.

, . ,
. ,
,
(filter by condition) ( ).
, ,
(Home Sort & Filter Filter).
. " " 3 .
, .
,
. $25
$25 (Greater Than or Equal to 25) ,
. . . " " 3.
.
.
.
,
, . .
. " " 3.

, , .
.

(Home Sort & Filter Advanced Filter Options
Advanced Filter/Sort).

, ,
, . ,
: ,
(Clear All Filters).
(Toggle Filter)
(, ,
).


, : .
" " (search form).
.
( ), .
, ,
.

. (
, .)
.
1.

.
Access . ,
.
" " , ,
,
.
(Clear Grid).
2. , .
, .
3. ,
.
(.
12.10). , .

. 12.10. Customers .
, , ,
. "Ra" : Randawa

4. , 2.
, , . ,

FirstName. , ,
, City.
,
. <10 , 10, Like Jon*
, "Jones", "Jonathon" "Jonson".
. . " " 6
.
5. ,
(. 12.11).

. 12.11. . ,
, .
. ,

, "Gorfinkel",
"Jehosophat",
Gorfinkel Jehosophat.
,
Jehosophat Gorfinkel.
6.
(Apply Filter/Sort).
Access
.

(Filtered), ,
.
, . Access
.

,
,
. ,
. Access
, .


, Access
.
, ,
. ,
.
, . ,
, ,
. ,

.
, ,
, (

), .
. , ,
.
, .
1. .
, . " " .
2.
(Home Sort & Filter Advanced Advanced Filter/Sort).
.
( ), ,
, .
, Access
( ) .
3.
(Home Sort & Filter Advanced Save as Query).
.

, ,
. , , ,
CustomerBrowser_FiIter ( ), ,
.
,
, .
1.

.
.
2.

(Home Sort & Filter Advanced Load From Query).
Access ,
.
3.
.

, ,

.
4.


(Apply Filter/Sort) .

,
, . (
, CustomerBrowser , ,
, .)


, , .
.
.
.
, 11.
, ,
, .

, .
;
, ;
; , . .


, , . , Access

. , . ,
. , .

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


, . . (, ,

.)

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

, ,
(
). ,
. (, , "ProductName"),

, , .
, . (
, , ,
. . . " "
11.)
, , (Layout Remove).
. . 12.12 ,
.


, Access ,
(. . 12.2). ,
.
.
:


. , ,
;

.
, .

. 12.13. , ,
, , .
, .
PostalCode State Country

.
1. , .
, .
2. , ,
.
, Access . , .
3. .
, .

. 12.14. . ,
,
,

4.
(Layout Stacked). ,
2.
, , ,
. ( )
.
5. , ,
(. 12.13).
.
, ,
.
6. 5 , .
.
, , ,
. ( <CtrI>+<Z>
, .)
7. , .
. .
, Access , . ( <Ctrl> ,
Access .)
. 12.14 .


: ( ) ( ). , , ,
.
.
; ,
.

,
( ), .
.

( ) .
1. , .
, .

. 12.15. .
: Notes, ,

. 12.16. ,
, ,

2. , <Shift>
.


, , -
.
.
3. .
Access , , . 12.15.
,
.
. , .
, , .
(Create Forms Form)

(Create Forms Multiple Items). , (. 12.16).


.
, , . .
1. , .
,
. 12.17. , , . , ,
( , ).
2. , .
,
.
3. , , . 12.18.
,
. . , , , , .
, .

, .

4. , |
(Form Design Tools | Design Tools
Property Sheet).
11,
. , ,
. .

. 12.17. . ( ,
,
.) , .

,

. 12.18. ,

5. (Form).
, ,
.
6. (Format)
(Default View).
. .
7. (Continuous Form).
(Single Form) (
) ( , ). , (Datasheet)
( , , 3), (PivotTable)
(PivotChart). , (Split Form) , .
.
8. (Dividing Lines)
.

, .


.
.
.
Access , , .
. ,

. . 12.19 .

, ,
,

.


(Create Forms Split Form). ,

.
.
.
1. .

2.

, ,
| (Form
Design Tools | Design Tools Property Sheet).

3.

(Form).

4.

(Format), ,
.

5.

(Default Value)
(Split Form). , ,
. 12.19.

. 12.19.
. .
, ,


. . 12.1 .

12.1.

(Split Form Orientation)


( ),
,


(Split Form Size)

.
,
.

12.1 ()


(Split
Form Splitter Bar)

,
. (
, )
,
.
,


(Save
Splitter Bar Position)

, ,
,

.
,
.
, Access
.

(Read
(Split Form Datasheet)
Only),
. (

.)
, .
,
(Allow Edits),
(Allow Deletions)
(Allow Additions), . 12.2

(Split Form Printing)

Access
(
) (
).


,
. . ;
. . 12.2 , .

12.2.

(Data)
(Record
Source)

.
.
,
SQL (.
. " SQL" 6)

12.2 ()

(Filter)

(Data)


(Filter
On Load)

(Data)

- (Data)
(Order By)


(Order
By On Load)

(Data)

(Data)
(Allow
Filters)

(Format)
(Caption)

,
.
,
. " "
,
. ,
, ,

(Home Sort & Filter
Apply Filter)
,
.

, . "
"
, Access
. ,
, .
,

,

,
.

, (
,
).
, Access

...
(Allow ... View)

(Format)


. ,
(Allow Layout
View),

(Allow
Edits)

(Data)

,
.
.

- (Data)
(Allow
Deletions)
(Data)
(Allow
Additions)

(Data)
(Data Entry)

,
.
,
.
,
.
, .
,
.
, , ,
,

12.2 ()

(Record
Selectors)

(Format)

, .
. -,
( ,
). -,
,
(
<Delete>)

(Navigation
Buttons)

(Format)

,
,
.
,
,
Access,
,
VBA

,
.
( (Auto Center)),
( (Border Style)),
( (Min Max Buttons))
. . ,
.

.
Access
Access . ,
. ,
. ,
,
, , , .
.

.
(Create Forms
Form).

.
.
.
(Create Forms Form Design),
.

.
(
).
(Create Forms Multiple Items).

,
(.
9).
(Create Forms PivotChart)
(Create Forms More Forms
PivotTable). . " " 9
.

(datasheet form) ,
. ,
, ,
.
, ,
, ,
. .
(Create Forms
More Forms Datasheet).

.
.
.
(Create Forms Split Form).

.
. ,

.
VBA. (
) . "
" 17.


. Access : . , 10.
. , .
, .
1.

2.

(Create
Forms More Forms Form Wizard).
.
,
.
.

3. , , . 12.20. ,
.
, , .

. 12.20. >
.

4. .
:

.
;

.
;

, .
;

, .
,
, .
, .
, . "
" .

. , ,
, .
.

5. .
, Access .
, , ,
.
6. .
,
.
7. (Open the form to
view or edit information), ,
(Modify the form's design),
. .
Access
.

13

.

. , .
,
. .
- , . Access ,
.
,
.



.
. .
.
(Create Forms Blank Form).
(. 13.1). 12
.
,
.
.
(Create Forms Form Design).
. ( ,
)
.

, |
(Form Layout Tools | Formatting Tools
Add Existing Fields) ( ) |

(Form Design Tools | Design Controls


Add Existing Fields) ( ).

. 13.1. , , Access
- ().
,

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

,
(. . 12.13).

.
,
, , . , Access, ,
.

:
11 , ( ,
, . .), .
.
: , .

,
.
- (Page
Header/Footer).
, (
. 13.2). . , .
, .

. 13.2. , ,
. , ,

, .
.

Access , , - - .
( , ,
.)

(. . "
, Access" 1), .
Access, Access .


,
1 11. Access .
. , , .

. : ,
, , .

.13.3. ( )
.


.
1

:
. .

. ,
. 13.3.
.
1. |
(Form Design Tools | Design Controls).
, .
2. (Use Control Wizards).
.
, , . , ,
. . ,
, , .
(
| ) , .
3. .
Access . ( 33- .) , .
.
.
, .

,
.

4. ,
.
,
.
,
(Select) ( | ).
. , .
. .

<Esc>
, .

5. (Control wizard)
(. 2),
.

<Esc> .
6. , , .
, Access
( (Caption)). , Access , .
7. ( ),
|
(Form Design Tools | Design Tools Property Sheet) .

.
8. .
(bound control) (.
" . "
), (Data) (Control Source)
, .

, ,
.
(Size To Fit).
Access , ,
. ,
, .

, .
( ,
.) ,
, . .
,
, Access , . , Access .
.
(, ). .
. , ,
ProductName,
ProductName.

, ,
, , , . (Form)
, (Data) (Record Source).
SQL- SELECT (. . " SQL" 6),
. .

, , ,
,
, .
9. ,
(Name) ( (Other)).
, Access , ,
Label46. - ,
. ,
,
.
10. .
,
, . | , | .

? , |
(Form Design Tools I Design
Controls Special Effect).
.

.


(Set Control Defaults). . ,
, .
. ,
( ), ()
(). ,

.
.

,
, , . . , ,

.

:

. , , , ( ). . 13.1 .

13.1.


(Label)
(Text Box)

(Check Box)

(Toggle Button)

. ,

.
,
. "" 11
.
,
, :
.
. ,

. ,


(Combo Box)

,
.

. Access

(List Box)

.

.
,
,
,

(Attachment)

, .
,
. ,
.
,
- (
), . 12.8

13.1 ()


(Option Group) (Option Button)
(Hyperlink)

(Line) (Rectangle)
(Image)

(Tab Control)

,


,
Web-. .
" " ,

.

.
,

. (Size Mode)
,
, (
), ( )
(
, ).
(Picture Tilling)
.
( )
, JPG,
BMP
.

. Windows
.
. "
"


(Subform)

.

.
. "
"

(Chart)

,
Office. ,
Access.
,
(. 9)
Excel,

,
(Unbound Object Frame)
,
OLE.
,
Word.
:

13.1 ()


(Bound Object
Frame)

,
, ,
. ,
OLE
, .
,
,

(Page
Break)

.
.

,


ActiveX

ActiveX ,
.
,
Access,
ActiveX -
.
,
ActiveX ,

.
Windows
?
Windows XP , . Microsoft

Windows XP ,
.

Windows XP . , Microsoft
,
, .
Windows , . Access ,
Windows . .
Access 2007 Windows XP
( , Windows XP Windows Vista).
. , Access,
. Access ,
.

, . ,
.
1. Office Access (Office Access Options).
2. Access.
3. (Current Database).
4.

Access ,
.

5.

(Applications Options)
Windows
(Use Windows-themed Controls on Forms). Windows
XP, , .

6.


, ,
.

. 13.4.
. , ,
. , .
. ( <Shift>
.)

, .
.
.
. .
, . 13.4.

/. ,
. " " (
Access ),
. . 11.9 ,
, .
. ,
.
. <Delete>
.
,
. , Access
, . .

,
Access . (
, .) Access , . , .
, !

. ,
. Access . |
(Form Design Tools |
Arrange Control Layout Snap to Grid). ,
.
. , ,
.
, , , ,
|
(Form Design Tools | Arrange Show/Hide Show Grid). ,
, ..
,
. Access
. ,
.


, ,
( , . 13.4),

.
.
(. 13.5), .

. 13.5. : . :
, .


,
Access .

. 13.6. () (),

,
. , , (. 13.6).
, ( Tallest) ( Shortest).


,
, .

| (Form Design Tools | Arrange Position).
:
(Make Vertical Spacing Equal)
( );
(Make Horizontal Spacing Equal)
(
);
(Increase Vertical Spacing)
(Increase Horizontal Spacing)
;
(Decrease Vertical Spacing)
(Decrease Horizontal Spacing) .


, , , , .
,
| (Form Design Tools | Arrange Position)
(Bring to Front) ( )
(Send to Back) ( ).
, . ,
( ).

:
, . .
.
Access ,
. , Access ,
. ,
, .

.
, (. " . ?" ).
, ,
MEMO, , , .

. 13.7. ().
, ,
()

Access 2007 , ,
, , Access. , , .
.
, ,
. . 13.7 ,
. , .
,
. , ,
. ,
, , . , .
, .
, . . 13.8 ,
, .

. 13.8. . ID
Email , Notes .
,

. ,
,
.
, .

.
?
, ( ).
, .
( ), .
, .
. Access
,
.
, 800x600 1024x768,
. ( 800x600 800
600 .)
. Access ,
, ,
.
. Windows .
: .

.


. Access. , , .
.
1. , .
,
.
, . . 13.2, , .
2. , .
, . 13.7, . <Shift>, .
. 13.9 , .


(. . " "
12), . ,
, ,
, , .

. 13.9. : , .
, ,
, . :
,

3. |
(Form Design Tools | Arrange Size Anchoring
Stretch Across Top). (
, |
(Form Layout Tools | Arrange Position Anchoring
Stretch Across Top).)
: ,
.
.

.


, . , .
. ,
.

. (, , )
, .
. , .
.
1. ,
.
.
2. ,
.
. 13.9, .
Notes . Notes ,
.
, .
3. |
(Form Design Tools | Arrange Size
Anchoring Stretch Down and Across).
: ,
, . ,
. ,
, ,
(Anchoring Stretch Down).
4. ,
. (Anchoring Bottom Left).
. , , , , .
(Stretch Across
Bottom). ,
.

,
.

, ,
.
.
,
.
5. 4 , .
, .
, - .
, , ,
. 13.10.

. 13.10. , , Notes

:
,
. ,

.
<b>.
, , <b>
Windows. , .
, <b> .
<b> . ,
<b> , . . 13.11 .

. 13.11. , , <b>, FirstName LastName.


Country,

<b> ,
, Access ,
. ,
.

, <b>
, . , ,

<b>, (
). .
Tab (Tab Stop) ,
<b>. ,
<b> . , ,
<b>
. ,
.
Tab (Auto Tab) ,
(. . " " 4).
, ,
.
, , ,
, .
Tab (Tab Index)
, , <b>.
,
<b>, 0. <b>,
<b>
(, 1). ,
. <b>,
.

, , , . , ,
<b>. ,
.

Access
<b>.
, Access .
Tab . ,
,
. .
1.
.
.
,
<b>, .
2. (Selection) , .
.
(Tab Order)
. ,

. ,
<b>,
.
3. Access
, (Auto Order).
Access
. .
(, , ).
4.
.
. . 13.12 , .

. 13.12.
, .
. . Country

5. , .

.
, <b>, ,
<Shift>+<Tab.


,
. , . , .

, Access .
? . Web?
. ,
, . .


. , .
, Boutique Fudge CurrentOrders ( ),
, . ,
. , ,
( )
. , , , , .
.
, . .
(,
) , .
.
(Locked) , .
, .
.
(Enabled) .
, .
, ,
. ,
.

, (Allow Edits), (Allow


Deletions) (Allow Additions), . 12.2.


4 ,
, .
.
,
, . , Boutique Fudge . , . , ,
OrderDate:
<=Date ( )
,
. . , .
, , , . ,
.
.
. , .
,
,
.
(Validation Rule) ,
, . ,
<=Date ()
, Date () (
). ,
.
. " " 4.
(Validation Text) ,
, , .
Access
"
" .
(Input Mask) ,
.
, , ,
. . " " 4
, .
(Default Value) , ,
. (, , ,
.) ,
, .



. , ,
.


, , , , (. 13.13). .
(. 7) (. 10), .

. 13.13.
= "You have " & [DueDate]-Date () & " days to finish"
.
,
. (
VBA-, .)
.
1. (
| ).
, . . ,
. ,
.
2. (Data).
(Control Source).
, . =Price*l. 15
, Price 1.15.

3. (Enabled)
.
, Access . ,
(Locked) . . -
, , <b>. .
4. .
| (Form Design Tools | Design Font).
Access | (Form
Layout Tools | Formatting Formatting).

( )
,
| (Form
Design Tools | Design Controls Line Type) (
, "").


,
.

. ,
(. 13.14).
. . , .
, . , .
,
.
.
1. |
.
, , , .
2. .
.

.

(
) (Add Page).
(Delete Page).

. 13.14. ,

3. .
, Access,
, , 19 20.
(Caption)
. , ,
"Address Information" ( ).

(Page Order).
Access .

.

,
, Access
, .

, ,
.

4. .

.
, ,
.
.

, .
,
. ,
, .


, . , :
Web- ;
(, Word) , .
.
1. | -
.
(Insert Hyperlink) (. 13.15)
, (. .
" " ).
, , .
2. , - (Existing
File or Web Page).
(Object in This Database)
, , , .
.
(E-mail Address)
.
.
3. (Text to display) ,
.
Web- (,
http://www.mycompany.com) (, "
Web- ").

. 13.15. - . "
Web- " ( , , ,
, )

4.
, (ScreenTip).
.
, ,
, . , Access
URL (Web-).
5. ,
. Web, URL (Address).
, Access ,
, C:\MyDocuments\Resume.doc. , , UNC (Universal Naming Convention,
), ,
, ,
\\SalesComputer\Documents\CompanyPolicy.doc.

.
, Access ,
.
, Access , .

6. .
.
.

. ,
, .


Access : (List box) (Combo box). , ( , ),
,
.
Access
:
. Access
, ( . "
" 5). , ;

.
.
, Access .

-
Access. (,
),
.
, ,
.
1. ,
(Control Wizard) .
, , ) (Form
Design Tools | Design Controls Use Control Wizards).
2. |
.
,
. . , .
(. 13.16).
3. .
, , (. 13.17). ,
.
4. .
.

. 13.16. .
, ProductName.
, . ,
,
ProductName

. 13.17. ( ),
,

5. , ,
.

. 13.16 ProductName. (. . " " 2).


. ,
. ,
.

, , . , LastName, MacDonald.
(, LastName FirstName).

6. ()
.
,
, .
7. .
, .
- " , ". .
8. .
. . .

. ,
, Access ,
. ,
, ,
.


, ,
. ,
, , . (, ,
Visual Basic, .)
, Access
, . (. 15), , .

.
Access , , ,
. , (, V).
.
1. |
.
2. .
, .
, , (. 13.18).

. 13.18. . (
) ( )

3. , .
. .
o ,
, , , ,
. ,
.
o (
) (, ,
).
( ) (
).

o ( )
( ).
( ), ,
.

,
. , . 14
,
.

,
, , .
( ) ( ).

o
.
o


) ( ).
15.

4. .
. . ,
Access , .
, Access
(. 13.19).

. 13.19. , , Access, .
Access .
, , ,
Access ( , ),


(BMP-) ,
, . , JPEG GIF.

5. - . .
, (Caption)
(Picture) ( ).
6. .
. , .
, (. 16), ,
.
7. .
.


5, - .
.
.
( ) .
. .

Access (. .
" " 6)
. .

, .


Access , . , ,
- .
ProductCategories Boutique Fudge,
, - Products.
( Customers, ,
Orders, . . .
Boutique Fudge ,
.)
. 13.20 , , ProductCategories, . Access ,
() -
( ).


,
Access , .

. 13.20. .
-
.

, Access . . ,
, , ,
.


. .
|
. , Access
, .

, , . - (Source Object) , .
, .
(Link Master Fields)
(Link Child Fields) .
, -.
ID ( ProductCategories)
ProductID ( Products). ,
Access , .
,
. . 13.20 Access .
, -. . , , , . ,
(. . ).
,
.
.
Customers,
, , .
.

,
, . ":
" ,
, .


- , Access - .
, , . , Access , .
- ,
.
. . . 13.21
.
, , , , .
ProductCategories, , Products
. ,
, . ,

. ,
, ,
.

.13.21.
: ProductCategories_WithSubform ProductslnCategory_Subform.
, ,
.
()

,
, . ProductslnCategory Subform
( ) ,
.

,
, .
: . 14 ,
.

14

13 . , .
Access -
. .
, ,
.
, Access. ,
Access , .
, .
, , ( )
Windows-, .
D ,
. (,
), ,
, . ,
, ,
, .


1,
. ,
20 , ,
.
, .
, . ,
, .
.


, . , ,
10. , .
Access , :
.
;
.
.
, .
,
. . 14.1 .

. 14.1. Access ,
( ).
, , .
( )

.
(Tables and Related Views)
. ,
Students, ,
( "Students").
, .
, ,
, - .
, Access.

. ,
,
Products ProductCategories.

Products ProductCategories.

,
. , , . (Unrelated Objects),
, , , .
(Object Type) .
, .
Access ,
. ,
. ,
, .
,
. , , .
(Created Date) .
Access ,
(, . .) ( ,
. .). ,
.
.
,
, , , , . .
( . 14.2). , , , .
(Modified Date) ,
, ,
. , ,
.

, , .

. 14.2. ,

Custom , , .
, , , .

.
[_].

.
(Show All Groups).

, Access
, . , , , Access
. (collapse arrows),
(. 14.3). , .

. 14.3.
.

. 14.4. ,
. Access
() ,
()

.

, . ,
, . , (Sort By).
,
:
(Name) ;
() (, , . .).
, ;
,
.
, (View By).
. 14.4 .



. ,
, .
. ,
, ,
, ( ,
. 14.3, ).
.
.
1.
(Navigation Options).
(. 14.5).
2. ,
, .
.
3. , .
, , ,
.
4. ,
, . 14.6.

. 14.5. .
, .

. 14.6. .
, .

, , ,
.
.

6. .

, .
, ,
. , ?


, , ,
, ? , ,
, ,
(. 8), . . (Hide in this Group).

, , . (,

.) , .


, .
,
, . , , , . ,
(Unhide in this
Group).
, ,
.
(, ,
.)

. " " 18 ,
.
, , Access . Access
, .
, SQL Server (. . " SQL Server?" 20),
, .

Custom
. ,
.
. , ,
. , .
1.
Custom ( ).
Custom. , Custom Group 1, .
, (Unassigned Objects), .
2. .
, (
) (Add To Group New Group).
<Enter>. . 14.7 .
.
, , (Add To Group) .

. 14.7. , ,

, .
.
.
, :
, ;
, ;

, ;
,
;
,
, ;
( ), ,
.
, , . ( ,
2.)

. 14.8. , ,
. Cacophone Studios
( Administration),
(
Teachers, ). ,
Attendance and Marking ( ) Payments ().

, . Custom, ,

. ,

.
, ,
. . 14.8
.
3.

, .


, - , , . Access , , , , .
.
1.
.
2. .
3. .
. Access , , (. 14.9).

. 14.9. , , . "Class",
, Classes Students_Classes


,
. , Access,

( , ).


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


,
( ). . , . , .
. 14.10 , Access.

,
, ,
.

. 14.10. Access
. Access
.
,


(Form wizard). , .
1.
(Database Tools Database Tools Switchboard Manager).
, Access
, .
(. 14.11).
, 2, .

. 14.11. .
. ,
(,
)

. 14.12. , ,
, (
)

2. .
(. 14.12). .
3. .
(. 14.13). : , , , Access,
.

. 14.13. Attendance ().


,

4. , .
:
o

(Go to Switchboard)
.
:

(Open Form in Add Mode) , ;

o (Open Form in Edit Mode)


.
, ;
o (Open Report) ;
o (Design Application) , , .
;
o

(Exit Application) Access:

o (Run Macro) (Run Code)


(. 15) Visual Basic (.
16).
5. 3 4 , .

.
.
. ( ?), .

.


. , .
(. . 14.11)
.
.
(Go to Switchboard). , .
, . ,
.
.
. , ,
, . , , . , , , ,
. , .
, , . .
, , .

1. ,
,
.
.
, 35
.
2. ,
.
, , Access .
, Access.
.
, . .
. , .

.

,
, , , ,
- . ,
,
.
, , .
, Microsoft, ,
Access
.
. , Access
, Switchboard Items ( ).
, Access
. , . ,
, Access (. 15),
, .
.
, , .
( ) . Access Switchboard Items.
. , (
), .
Switchboard Items, , ? . " " 1 , .



, .
Access (, ) , -
. .
1. Office Access (Office Access Options).
Access.
2. (Current
Database).
.
3. (Application Options)
(Display Form). .

4.
, (Navigation)
(Display Navigation Pane).
, , ,
.
.

, ,
( Access).
,
, .
(. . " "
13).

, .
,
,
, -
, .
, Access , ,
, .



.
, . 14.14 , . 14.10,
. , ,
.
, , (. . " " 13). (Back Style)
(Transparent), ,
(Cursor On Hover) (Hyperlink hand), , , ,
.


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

, ,
, .

"Missing CD" Web- www.missingmanuals.com, ( ), , . 14.14.

PC. 14.14. .
, ,
. , , .
,



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

. . 14.15 .

, . .
,

,
. Access
, .
, Access
( ).

. 14.15. " "


. Access

, ,
. , , .


. , ,

, . , ,
, Access .
,
.

, .

. Access
.
. .
,

.

. . "
" 13. ,
. ,
.

, .
, .
" "

.
, Access.
.

. .
, Access
. , Access, , .
. ,
. . (. 14.16), .
, . .
Access.
. MsysObjects, .
, SQL- (.
. " SQL" 6 SQL).
Name , , .
. 14.1 , .

14.1.

(Table)

(Form)

-32 768

(Query)

(Report)

-32 764

. 14.16. , .
, ( )

Name, -32 768.


, ( <Esc>,
). .
SQL-,
:
SELECT Name FROM MSysObjects WHERE MSysObjects.Type=-327 68

, .
-32 764 -32 768 . . 14.17 .
, .
, . .
, , .
, . ( , ,
.)

. 14.17.

13,
.
. , ,
, .
, ,
, . .
1. .
.
.
2. ,
.
,
.
3. .
, , .
4. .
, , "", " " " ".
,
.
5.
(Event).
, . ,
(OnClick), ,
.
6. (OnClick) ,
[ ] ([Embedded Macro]).
(...).

7. .
(. 14.18). , .

. 14.18. 15. ,
( ).
( )

8. ( ).
=MyList.Value.
. , My List. , . ( ,
, .)
9. .
.
10. .
.


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


13 , .
. , , ,
. , .
. . 14.19 14.20
Cacophone Studios.
, . 14.19 14.20, . See Students in this Class.
, , , .
1. .
Classes.
2. .
.
.
3.
.
.

. 14.19. Classes . See


Students in this Class ( )
(. 14.20)

. 14.20. StudentEnrollments ( )

4. , ,
.
StudentEnroIlments.
5.
.

StudentEnrollments? , . , , ,
.
, .
6. - .
, ,
(.. " " 13).
7. .
, , .
, .

,
Access. .
.

8. , |
(Form Design Tools | Design Tools
Property Sheet).
9. , .
.
10.
(OnClick).
[ ], , .
11. .
, , . 15.
.
12. . (
.) ,
(. 14.21).
, , , .
13. ( ,
) .
. ,
, .

:
[ClassID]=[Forms]![Classes]![ID]

. 14.21.

Access , ,
ClassID StudentEnrollments
ID Classes. , , .

. , ( StudentEnrollments)
ClassID.
ID, (Classes).
[Forms] ! [Classes] ! [ID] Access
, ID
Classes.

14. , , ,
. , , (Requery)
(. 14.22).

Access (
StudentEnrollments, ). ,
StudentEnrollments ,
See Students in this Class. , ,
. .

. 14.22. .

15. .
Access .
,
, . .
.
See Students in this Class
StudentEnrollments, .


( (Filtered),
, ).
, StudentEnroIIments ,
.
,
.


.
,

, , ,
.
, Access

, (. 14.23 14.24).

. 14.23. (TotalsByCustomer) ( )
. ,
Access , . 14.24

.
.
, , ,
, .

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

Hyperlink), ,
,

. 14.24. CustomerPurchases .
(="Products Purchased By " & [FirstName] & " " & [LastName])

, . Boutique Fudge (
) ,
CustomerPurchases ( ) TotalsByCustomer
( ).
1. , , .
Totals By Customer.
2. ,
| (Report Design Tools | Design
Tools Property Sheet).
3. , , .
(ID),
. ID, . , , .
.
4. (OnClick). (...)

(Choose Builder) , , .
5. (Macro Builder) .
.
6. ,
. .
(
), .
7. ,
, .
CustomerPurchases.
8. (Where Condition)
. , ID
.
, . , ( CustomerlD
CustomerPurchases), , ( ID TotalsByCustomers). :
[CustomerlD]=[Reports]![TotalsByCustomer]![ID]
, , Access ,
TotalsByCustomers.
9. .
, , , .
10. .
.
11. .
.
,
.

Access
15.
16.
Visual Basic
17.

15

Access
, .
, Access
. .
Access
. , Access ,
Access .
, .
(, )
(, , , ).
, .
. ,
, . , Visual Basic.

.

.

Access ,
Visual Basic (VB) ( ).
Microsoft , ,
.
Access 2007 Microsoft . , , VB-, , , VB . . Access , , , . , Access , (OpenForm) ,
, ,
. VB- Access .

,
, , . ( . " " .)
Visual
Basic, , .
, (. .
" " ).
, .


, , . 14
, , ,
.
,
.

. 15.1. . ,
. , Access ,

, . , .


, , , . , .
1. .

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

.15.2. (),
, . ,
,

2. .
Access ,
. ,
, . 15.2.
(nble).

, Access
. (. . " "
) ,
Access .

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

3. (. 15.3) .

. (nble) ,

Access, . .
(nble) .
o
, .
.
.
o
.
,
,
.
. (, ,
, .)
o
, .
(Edit) ,
(Read Only) (Add)
. .

,
, (Command Builder wizard).
, , ,
.
.

4. ,
.
(, ,
" Products").
. , ,
, .
5. 24
.
. (
Access 999 .) , Access
, .
(GoToRecord).
, .
(
, 3,
). (Record)
(Offset) , .

(
(Previous)), ( (Next)),
( (New)), ( (Go To)),
( (First)) , , (
(Last)). ,
, , 5,
5- .

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

, ?
(MsgBox), . (Message). , , : " ".
( (Title)), ( () ) ( ()).

.
, ;
. .
Access .

6. <Ctrl>+<S> .
ShowTheLastProduct (
). , Access
.
.
, , .
(Tables and Related Views), Access
,
(Unrelated Objects).

, .
, .
, .


, , . Access .
.
. , .

, |
(Macro Tools | Design Tools Run).

, ,
.
(Database Tools Macro Run Macro).
.

, , ,
<Ctrl>+<F>. , , . " " .
.
, . . " "
.

. 15.4. ShowTheLastProduct. Access Products (


, ) ,
, ,

.
. . . " " .
.

| , . 15.4
.

,
. , .


, , .
, ,
. 15.5.

. 15.5. ,

, ,
, . ,
, . 15.5,
- (. . ) -
( ),
. ,
, ,
.
, , ,
, Access , , . ,
, .

.
1. .
. , , ,
.
2. | (Macro
Tools | Design Tools Single Step).
(Single Step) -, . . . , . (
, , , . , .)
3. |
.
. . Access
. . 15.6 , .

. 15.6. , , ProblematicMacro.
,
. ( ,
)

4. , , :
, .
. ,
Access
.

.
, , . 15.7.

. ,
,
.

. 15.7. , .
Access ( ,
Microsoft), .
,

.
"" ,
, Access . , . , .

, ,
. ,
.
, , .

.

. -, ,
. . -, , ,
. , , , . , Access, .
Access .
,
(OnError). (GoTo) .
(Fail) .
(Next), Access .

(Macro Name), Access , . (


, .)
, . " " .
(OnError) ,
(, , , ).
. , . ,
.


Microsoft .
Office, Access, . Access , .


Access : , ,
, , . . ,
, . ,
(PrintOut) . 400 80 .
(DeleteObject) (RunApp), , .

. . , . , , .
,
Access .

, ,
.
. -
Web, , .
Access ,
- . .

, ,
Access , ( )

(Macro Tools | Design Show/Hide Show All Actions).


.
, Access (. 15.8).

. 15.8. , Access
.

Access , ,
. .

.
, Access
.

. .

. , .

.
, .
. ,
,
.
. ,
, , - .
.
, .
, Microsoft ,
,
. Access
2007, ,
.

SQL. . " SQL" 6, SQL


, Access.
SQL
,
.

VB-. ,
, Access VB- .
16.

.
(SendKeys)
. ,
. Access
, .
( ,
,
, .)

Access. Access ,
(Quit), , ,
,
. ,

(
). , Access
.

. ,

.

Access
, Access
. Access
. Access 2007 ,
.
, , , , Access
, . 15.9. ,
Access .

. , Access
, ,
(Database Tools
Show/Hide Message Bar).

. 15.9. .
(.
. 15.10) . , ,
, ,
.
( . 15.10) ,

. 15.10. (. . 15.9)
Access
.
,

,

. ,
.

,
,
. ,

.
.


Access ,
. , ,
, , .


. .


? Access
, , .

Access ,
. , . .
, . ,
, ,
.

Access ,
( ).
.

Access ,

. ,

, , .


(. 15.11). Microsoft Office (. . 15.10)
. , .
1.

Office Access.

2.

Access (Trust
Center).

3.

(Trust
Center Settings).

.
(Trusted Publishers) Access,
.
,
,

VeriSign (www.verisign.com). , ,
Access , , .
, , .
.

. 15.11. Access .
Access

, ,
Microsoft ( makecert.exe)
. ,
.
Web- Access .

(Trusted Locations)
. Access
. ,
, .

(Add-ins) ,
(add-ins) (-,
Access),
. .
( , -
, !)

, Access
.

(Macro Settings)
Access. ( ,
) ( ,
, ).
.

(Message Bar) , Access


,
.

(Privacy Options) , .

Microsoft ( , Microsoft
, Access ).
-, .
.


, , ? Access 2007 .
. , , Access
.

,
. ,
. , . . Access
.

, .
1. (Trust Center).
, , .
2. (Trusted Locations).
, (. 15.12). : ACCWIZ,
Access .
3. ,
, , .
4. ,
.
, .

. (
, ,
), .

. 15.12. FunkyAccessFiles,
My Documents

. 15.13. (
, ). ,
,

5.

(Add new location).


Access (.
15.13).

6.

, .


, . .
, (, Access,
SQL Server, 18).
.

.


(FindRecord)
, . "" 3. .
, "hay" () Diet ( )
AnimalTypes. , .

(OpenForm) ,
( AnimalTypes).
(OpenTable) .

(GoToControl) ,
( Description).
, .

(FindRecord) . ,
, .
,
.

,
. 15.1 .

15.1.

: AnimalTypes

. ,

15.1 ()

: Diet

Diet

: ="hay"

: Diet,

:
:

,
. . ,
, .
, , .

,
. AnimalTypes ,
.

,
.
. , ,
, .


, ? Access . .

,
,
.

,
, .
, (PrintOut)
(Close) .

Access
.

. 15.2 .
, CheapskateCustomers ( ),
2

,
.
15.2.

: CheapskateCustomers ( ,
)

: 2




.
: :
CheapskateCustomers
,

Access , , . .
, .

. ,
(Print Preview).
, . ,
,
. .


Access
(SendObject)
.

.

, MAPI (Messaging
Application Programming Interface,
), . . Windows- . , Outlook, Eudora, Pegasus -

. ,
,
.
3

, . Web,
, (, ).
. .

.
,
Excel, Web- HTML
PDF- (
"Save As PDF" ( PDF-),
. " "ave As PDF'" 10). ,
,
.

.
,
, .
, ,
, , ,
.
, .

.
: .
(Message Text).
,
.

.
, .
.
, ,

.

,
: (Edit
Message) . , ,
, , - .
, , . , Access .
. 15.3
Excel. .

15.3.

: :
MonthlySalesTotals
: Excel Workbook
(.xlsx)
: headhoncho@acme.com
: Monthly Update
:
,

Access.


:



headhon-cho@acme.com
MonthlySalesTotals
( ),

Excel.

. . . 15.14

: :
CustomerSalesTotals
: Excel Workbook
(.xlsx)
: headhoncho@acme.com
: Monthly Update
:

:


headhoncho@acme.com CustomerSalesTotals

,
.
, , (;).
. , Outlook Outlook Express
. , FairweatherFriends ( ), FairweatherFriends
.

?
<Shift>+<F2>
, .

. 15.14. ,
( )



, , ,
. Access ,
, ,
, ,
, .


. ,
, . , , .
. ,
. , .
, ,
.

Access
, ,
(, ).

,
. , .
| (Macro Tools
| Design Show/Hide Macro Names) .
. , ,
. ,
, . .
. 15.15.

. 15.15. , .
.
. Access

(,
). ,
(Insert Rows)
.

, , .
, , .
PrintCheapskates ( ) BasicMacros ( ), .. 15.15, BasicMacros.PrintCheapskates.
.


.
(Run), Access
. (Database Tools Macro Run Macro).

( . 15.16).

. 15.16. Access MailResults


BasicMacros

, , .
, ,
. ,
,
.


, . , .
, <Ctrl>+<M>, .

. ,
.

, Access, .
AutoKeys .
AutoKeys? .
AutoKeys, , . ^, Access ,
, <Ctrl>+<M>. . 15.17
.

. 15.17 , -
. (

AutoKeys
), . ,

AutoKeys.

. 15.17. AutoKeys ,
<Ctrl>+<Shift>+<M>, <Ctrl>+<Shift>+<P> <Ctrl>+<Shift>+<T>

AutoKeys
, Access ,
. Access <Ctrl> <Shift>. ( <Alt> ,
.) , (<F1>
<F12>) <Insert> <Delete>, <Ctrl> <Shift>.
:
^ <Ctrl>. , ^ <Ctrl>+<M>;
+ <Shift>. , ^+ <Ctrl>+<Shift>+<M>;
{F1} <F1>. , +{Fi} <Shift>+<Fl>.
;
{INS} <Insert> {DEL} <Delete>.
, ^{INS} <Ctrl>+<Insert>.

, ,
- .

Access. <Ctrl>+<S>, .

, <Shift>,
.


, , ,
, . ,
,
. Access . , , AutoExec.
Access AutoExec.
<Shift> , Access
AutoExec ( , , , ).
, <Shift>
.

,
, Access .
, Access
AutoExec.


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


:
. . ,
. ,
, .
.
.
. . ,
- . ,
, (On Click). ( .) , (On Change). ( ,

.) , "On".

.
, (On Click). ,
Access ,
.

. , , . , ,
( (On Mouse Move))
( (On Click)). , ,
.
. , .
, , (
(On Open)) ( (On Close)), ( (On Current))
, , ( (After Update)).

. 15.18. .
, , ,
. , ,

, ,
.
1. .
, , | (Form Tools | Design Tools
Property Sheet).
2. , , .
, . ,
.
3. .
, , . 15.18.
, . ,
, . . 15.4 , .
15.4. ,

(On Enter)

,
(
, <b>,
)
,


(On Mouse Move)
- (On Change)

(On
Click)

,
.
,
,

, -

(On , ,
Not In List)

(On Load)

,
(
)

15.4 ()

(On Close)

, .
,

(On
,
Current)
(
)
(On , Dirty)
.

(On Undo)
,

(
<Esc>)
(Before Insert), ,
(Before
.
Update), - , ,
(Before Del Confirm) (,
)
(After
Insert),
(After Update),
(After Del
Confirm)

.
,


, ( )
.
.
17 ,
- , ( , ).

, , , ,
.
. ,
, .


, , ,
. .
1.

, . " "
.

2.

,
.

3.

, .

4.

,
.

5.


, .

. 15.19 .

. 15.19. MailResults.
"

.

. ?
, Access , (. . " " 13). , . . ,
-. (, ).
, : .
, (
). .

, .
1.

, ( ,
).

2.

.
(On Click). [
] ([Embedded Macro]), .

3.

.
(...).

4.

,
(macro builder).


, , , ,
.
,
. . " " ,
"hay". ,
. , .

. 15.20. "hay" .
?

. (.
. " " 7, . "" 11
. " " 13),

, , Access. o ,
. .
,
, , . 15.20.
,
. .
1. .
2. |
(Form Tools | Design Controls Text Box)
.
3. .
4. -
, , SearchText ().

.
, , ,
. ,
, .

.
(OpenForm), , , , Access
AnimalTypes ( ). , ,
(GoToControl) (Control Name),
Description ().
(FindRecord).
(="hay") (Find What)
SearchText (=SearchText).
, ,
(=[SearchText] ).

,
.
. ,
. SearchText , SearchForm ,
= Forms !SearchForm ! SearchText .

,
AnimalTypes . .
1. |
(Form Tools | Design Controls Button)
.

2. <Esc> .
3. .
4.
(On Click) .
5. Search ().
.
. ,
- SearchText Search.
, .


, .
(SetValue). , .
, , . . ( , , . 13.) Access ,
(. . " Access " ).
. ,
(Item) , . , ,
. (Expression) .
.
, SearchText,
SearchText, a
"" ( ).

,
(, Clear ()).
, SearchText Forms !
AnimalTypes ! SearchText, Access,
.

, , .
. ( , , .)
,
.
(Enabled) ( ,
) (Visible) ( ). .
, Access
. , Access

(Text) ,
.


, , .
. ,
, . . . .
(Condition).
. ,
|
(Macro Tools | Design Show/Hide Conditions).

, .
, : .
Access . ( .)
.
( ),
Access , - ;
, Access
;
, Access
.
, .


: ? . :
[ProductName] = "Baloney"
ProductName
"Baloney" ( ). ProductName
( ), . ProductName -
, .

, .
,
Not. Not [ProductName] ="Baloney" ,
.

(=) , . " " (>) " " (<)


" " (). , ,
:
[Price] > 4 9 . 9 9

Access. (
4 7 .) ,
, :
Len ( [FirstName] ) < 3

, ,
, . , , .
Access , ,
IsNull ( ). ,
, . IsNull ( ) , .
:
IsNull ( [LastName] )

, LastName .
(
). IsNull ()
, , ,
.
, , ,
. , : And () Or ().
And , ,
. ,
FirstName, LastName :
Len([FirstName]) < 3 And Len([LastName]) < 3
Or .
, FirstName LastName .
, .
IsNull([FirstName]) Or IsNull([LastName])
,
Not, And Or .
, .


Access
(, ). , , ,
.

4, Access , , , .
, . , .
, .


, . ,
. -, , (CancelEvent) ,
, , .

. 15.21. Please notify me about special offers (,


), WantsEmail .
Email



. ,
"" ("Before"), ,
.

, , . , . 15.21.

. , EmailAddress ,
. WantsEmail , EmailAddress
.
.
:
WantsEmail = Yes And IsNull ( [EmailAddress] )
, WantsEmail EmailAddress
. ,
.

. . , , ,
, .

, .
.
, (Before Update).
, Access
. . <Esc>
.
. : . , , , . ,
Access .

(MsgBox). , , ,
.
Access , .
( )
(...) . Access .
. 15.22 , . 15.23 .

. 15.22. .

. 15.23.


,
. ,
. , ,
.
, ,
StopMissingEmail, . .
, . 15.24.
, , . :
MsgBox("Is this really what you want to do?", 4) = 7

MsgBox () . 4 Access , Yes () No (). MsgBox () 6,


Yes, 7, No, , ,
, .

. 15.24. , :
. (,
,
)

MsgBox () (MsgBox).
. MsgBox (),
. MsgBox
(, )
, Access
MsgBox.

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

AskAboutMissingEmail ( ).
, .
1. . ,

.
2. , , .
, .
No (), .

. 15.25 .

. 15.25. CatchMissingEmail ( )
, ,
, No

16

Visual
Basic

, , .
, , , . Visual Basic (VB), , (
).
, ,
:

;
, Access ;
, ,
Pig
Latin (" ");
, .
( ) . , Access.
Access. , VB, , .
.

Visual Basic, Access


Office, VBA (Visual Basic for Applications, Visual Basic ).

Visual Basic
, Visual Basic ,
- . Visual Basic.

Visual Basic Access,


. Visual Basic
Visual Basic (Database Tools Macros Visual Basic).
Access . 16.1 , .

Visual Basic . ,
Access .

. 16.1. Visual Basic . Project


()

Visual Basic . Project


() . (
.) Project () ,
. . 16.1 Project ()
( BoutiqueFudge ).
.

Access , Project ()
acwzrtool.
Access, , .
, Access .

Project Properties (), Project , .


Immediate () , .
, ,
. .
.
1. , , .
2. .
3., , .
, , ,
. ( .)


,
, (. . "
" 15). , .
, .
Visual Basic Insert Module ( ). . 16.2
.
, Visual Basic
, . ( ,
Project.)
,
: Option Compare Database
, , Visual Basic
. Visual Basic
,
Access.
Access (,
Windows () (U.S. English) (Japanese kanji script)).
. , ""
"", Access
.
, - , . ( )
Option Compare Database :
Option Explicit

Visual Basic , (. .
" " 17).

. 16.2. , Project Modules.


Access , , Module1, Module2
. . - , Project Properties,
, Name. DataCleanupCode ( )

Visual Basic Option


Explicit . Tools Options (
), Require Variable Declarations (
) . Access
.

Access, Visual Basic Access .


, File Save [DatabaseName]
( [], [DatabaseName] ).

,
Access. ,

,
, .
, Access Visual Basic.


( )
Visual Basic. ,
. VB Sub, .
End Sub. ,
MyCodeRoutine:
Sub MyCodeRoutine ()
'
End Sub
VB . -,
, ( Sub
End Sub). , .
, Access . ,
(, ( ),
). ( ' ).

Visual Basic ,
.

MyCodeRoutine .
, Sub End Sub.
:
Sub MyCodeRoutine ( )
'
MsgBox " ."
End Sub
, Visual Basic , MsgBox.
(. " . Visual Basic"
,
.)
. (
), VB . , Access , . (Access ,
.)
( !),
. - , Visual Basic, .

Visual Basic Run () (


), Run Run Sub/UserForm ( /
). . 16.3 .

. 16.3. , ,
,

Access , .
MsgBox, ,
, .

, Access VB ,
. , (. .
" Access " 15),
Microsoft Office,
.
. . " " 15
.

.
Visual Basic
Visual Basic MsgBox.
,
Access. , .
1. Visual Basic Help :
Microsoft Visual Basic ( Microsoft Visual Basic)1.
2. , VB.
3. Visual Basic for Applications Language Reference
( Visual Basic ).
4. ,
VB.
5. Visual Basic Language Reference (
Visual Basic), .

. .

6. , VB.
Visual Basic Office.
7. Functions (), Visual
Basic, MsgBox. (
.)
Access Visual Basic, , .
, , ,
. , , .


. ,
, (.
. " " 15). VB.
Visual Basic, , Run ().
, .
, .
, - . ,
.


, Access
, . , .
1. .

(Design View).
2. .
| (Forms Tools | Design Controls Button) .
3. , <Esc>,
.
.
VB.
4. , |
(Forms Tools | Design Tools Property
Sheet).

5. (Other), (Name)
, .
Access . , CommitOrder_Click ( ), Command42_Click ( 42). , (
(Caption)), .
6. (Event)
(On Click).
(Event), .
7. ,
, [ ]
([EventProcedure]).
Access , VB
.
8. (...)
Visual Basic
. , Access ,
, , .
, Access .
Project , Microsoft Office Access Class Objects (
Microsoft Office Access) (. 16.4). , ,
Access .

. ,
Visual Basic Project
. ,

.

, Access ,
.
ButtonOfPower ( ), , :
Private Sub ButtonOfPower_Click() End Sub
, , .
Private.
. , . ( Private, , Public,
.)

, Private
.
[]_[]. ,
(On Click)
ButtonOfPower.

. 16.4. Form_[FormName]. ,
OneButtonForm ( )

, On Click? ,
Visual Basic, Access,
. "On" ,
, On Click ( ) Click.

Access .

, . , :
Private Sub ButtonOfPower_Click( )
MsgBox " ButtonOfPower."
End Sub

. , . 16.5, ,
.

.
, Access,
.

. 16.5. . ,
ButtonOfPower, Access

ButtonOfPower, Access
. , . ,
- , , , - . ( .)
,
Visual Basic .

.

- . ,
, Access
.

, MyButton Click, , ,
MyButton Click
( ). ,
,
. (,
), Access .
Access , MyButton_Click,
MyButton, . Access , . , Access .
, .
. -,
,
, , . -,
, . , , ,
.
( ) Access
. ,
.


:
? .
, , . ,
,
. , .
, ( ).
? , ,
. -
. .
,
. , , ,
.
( . ), . :
Private Sub ButtonOfPower_Click( )
MyModule.MyCodeRoutine
End Sub

.
1. ButtonOfPower.
2. Access ButtonOf Power_Click .
3. , MyCodeRoutine MyModule.
, (. . 16.3).
4. MyCodeRoutine , Access
ButtonOf Power_Click.
, .
. , , . .

.
(Private) , ,
.
Public , Private Sub.
, MyCodeRoutine . "
" .

, ButtonOf Power_Click MyCodeRoutine, -,


, .
MyCodeRoutine. :
Private Sub ButtonOfPower_Click( )
MyCodeRoutine End
Sub

Access , MyCodeRoutine
. , MyCodeRoutine .


(, ),
.
, ,
.


15, ,
. VB .
, .
, ( ) , . Description (). , :
Description = ""

Visual Basic ( , ), (=).


Access , ( , )
, ( Description). Description .

, . . [Description] Description.
, ,
, . " 1. "
2. ,
.

, , :
Description = " -, "

( , ). , .
, Access
.
.
, , , .
, , .
. , Access,
(. . " " 7) (. . "
" 4).
&
. , , ,
.
Description = Description & " This is a description for " & ProductName & "."
Description "Enjoy delectable waves of fudge."
(" ."),
"Enjoy delectable waves of fudge. This is a description for Fudge Tsunami." (" . Fudge Tsunami.").



,
Visual Basic,
(_).


:
Description = Description & _
" This is a description for " & _
ProductName & "."

, ,
, , .

.
IncreasePrice ( ), 10% ( ,
, ):
Private Sub IncreasePrice_Click
Price = Price * 1.10
End Sub
, (, , , . .),
. 7.1.

Visual Basic / True/False (/).


, . /
Visual Basic: True False.


.
, , , . , , .
,
. Description ,
" ", , . , , .

Access ,
.
( , ).
"" ,
(
).

.
. , .
Fontsize ( ),
.
. , . , Requery (),
, .
. , ,
.
, On Click (
).
.

. , , . ,
.
(,
). .
(
""). ,
Description.
BackColor ( ) " ". :
Description.BackColor = vbYellow
Description "" BackColor. BackColor
vbYellow.
, , .
.
,
, Description.

Access . VB
, , vb.
. vbYellow 65 535. (
Access "vbYellow", .
" .
" . " " ,
.)

"", .
Value (),

. "" , :
Description = " ."
, ,
, , :
, ? .
. ,
" ",
" " . ,
, , BackColor
, .
.
BackColor, , . ,
(, Detail ( ),
FormHeader ( ), FormFooter ( ))
BackColor .
.
. ,
, , (
). ,
, , Back Color ( )
BackColor.

. 16.6. , Visual Basic .


, Visual Basic .
, <>

Visual Basic IntelliSense. Visual Basic


, .
,
, (. 16.6).

IntelliSense : ( , ) (, ).
, .
. ,
.

.

15, . , Access,
.
, Price ()
Product () , PriceChanger
( ). , Access Price PriceChanger:
Price.BackColor = vbRed
Access :
Forms("Product").Price.BackColor = vbRed

Access
Forms (), . ( Product , .)
Product, Price
BackColor ( ).
.
Access , :
Forms!Product!Price!BackColor = vbRed

Access . .
, , .
, , . 17 ,
, .
. 16.1 ,
Visual Basic.

16.1.

Value ()

- .

, Value
.
,

. .
Enabled ( True () ,

)
False ()
. False, , ,
( ,

Value).
,


Visible ()
True ()
,
""
,
False ()

ForeColor ( )
BackColor ( )

,
. False
(), .

. ,
State ()
( )
, ( )

Left ()
()

Width ()
Height ()

FontName ()
FontSize (
)

.
()
FontName
(, "Arial"), a FontSize
(, 10)
True () (
False ()
)

FontBold (
) FontItalic ()
Picture* ()

. Left ()

. ()

.


, .

16.1 ()


Text* ()

Caption* ()

IternsSelected*
-
( )

.
, Value. -

,
. Value ,
, Text
,


. ,
, .

, ,
.

. ItemsSelected
, ,
,
Value

* .

.
, . , , . Requery ()

.

, . ,
.

, . , . . .
.
Refresh
( ):
Form.Refresh

. ,
, . . Visual Basic IntelliSense (. 16.7).

. 16.7. Move
. , Visual Basic ,
. (Left)
,

,
. , . , :
Description.Move 0, 0

. 16.2 .

16.2.

SetFocus ( )

,
, , .

. ,

()
.

.
,

Undo ()

16.2 ()

Recalc ( )
Refresh* ( )

Requery* ()




, , .
, ,
,
(. 18),




,

,
, .
Refresh,
, .

* , .

, ,
, . . . 15.4.
: . , , , . :
Private Sub ButtonOfPower_Click ()
. .
,
.
(On Key Press) ,
, - .
, (
ASCII.)
, (On Key
Press), Access , :
Private Sub MyTextBox_KeyPress(KeyAscii As Integer)
End Sub
, (On Key Press) . , KeyAscii,
.

, :
Private Sub MyTextBox_KeyPress(KeyAscii As Integer)
MsgBox " : " & KeyAscii
End Sub
. . .

.
, . ( ,
.) . "
" 17.

(On Mouse Move), . ,


:
Private Sub SomeControl_MouseMove(Button As Integer, _
Shift As Integer, X As Single, Y As Single)
End Sub
. Button , . Shift ,
<Shift>, <Ctrl> <Alt>. , , X Y ( ).


, Visual Basic, , ,
. , .

,
, Access. VESA2 Help
: Microsoft Visual Basic (Help Microsoft Visual Basic Help).
: Visual Basic for Applications Language
Reference Microsoft Forms Visual Basic Reference Reference.
, Access ( Objects)
, ,
Access ( Events, Methods Properties).

VBA . . .


.
, .
, . <Esc> .
(Record Selection) ( ,
(Record Selectors) , ), Access ,
. , - , ,
. Access, , .
, .
. . 16.8.
. . , , InfoMessage ( ), .
.

.
. , , , ,
Labl44.

, .
? , ,
. ,
.
? , ,
. , .
(On
Dirty). ,
. ,
(On Dirty) .
.


(On Dirty), , - .
.
(On Dirty), .

. 16.8. ; . :
- ,

,
(On Dirty):
Private Sub Forrn_Dirty(Cancel As Integer)
End Sub

, , . .
.
. " " 17.

( )
( ,
, ).
.
, . Form BackColor
( ), , (Details ( ), FormFooter ( ) FormHeader
( )). , :
Detail.BackColor = vbRed
3:
InfoMessage.Caption = " . " & _
" , . " & _
" Esc."
Form_Dirty .

, vbRed, vbWhite
vbYellow, .
, Visual Basic. , . .
,
. RGB, Visual Basic ( MsgBox, ).
RGB , ,
, ,
ForeColor BackColor.

. 16.8 . , , . .

, ,
- :
Detail.BackColor = RGB(266, 160, 122)

. Access
RGB . BackColor.
RGB , . RGB , Web-
Windows-. Access, RGB-,
.
1. .
2.
(ForeColor) (BackColor).
3. (...)
,
.
4. (More Colors) .
5. (Custom).
6. , . 16.9.
7. RGB-. .
8. (Cancel) Access.

. ,
, . ,
, , .
, , , .
:
(After Update). , Access
. ,
:
Private Sub Form_AfterUpdate ()
Detail.BackColor = vbWhite
InfoMessage.Caption = "" End Sub

He (Before Update),
. ,
Access ,
( ).

. 16.9. . (
.) . ,
(Red), (Green) (Blue)

.
<Esc> .
. (On Undo):
Private Sub Form_Undo ()
Detail.BackColor = vbWhite
InfoMessage.Caption = ""
End Sub
. , ( . ""
, ).

.

(Default View) (Continuous Form), . ?

(Continuous Form) (. . "


" 12)
.
. ,
,
- . InfoMessage
.
. .
: , . ,
, , ( ).
, .
, , .
, , ,
.
, Access.
.


(mouseover effect) ,
- . Web-
.
Access .
(On Mouse Move). (On Mouse Move),
.
(On Mouse Move) , .
, . 16.10, .
, , Don't Click Me (
) ( HappyFace ( )).
, .
(On Mouse Move). , :
Private Sub DoNotClickButton_MouseMove(Button As Integer, _
Shift As Integer, X As Single, Y As Single)
HappyFace.Picture = "C:\Images\UnHappy.jpg"
End Sub

. 16.10. : . : Don't
Click Me ( ), , ,
. - ,

, ( UnHappy.jpg) C:\Images.
,
, , ,
(. . " " ).

(On Mouse Move) .


, .
,
, .

(On Mouse Move) , ,

, . , .
Private Sub Detail_MouseMove(Button As Integer, _
Shift As Integer, X As Single, Y As Single)
HappyFace.Picture = "C:\Images\Happy.jpg"
End Sub
. ,
UnHappy.jpg Happy.jpg .
, , ?
, .
Access :
HappyFace.Picture = CurrentProject.Path & "\Happy.jpg"
, ,
: CurrentProject ( ),
. CurrentProject
Path (), .
, , .

.

2 , . , Access -
. .
Access. .
1. ,
. .
2. (On Current),
.
3. Picture ()
, . ,
ImageFileName ( ),
Img, :
Img.Picture = CurrentProject.Path & _
"\Images\" & ImageFileName

, Images
(), .
( ),
.
(. .
" " 17). ,
, , , .

17

16 Visual Basic, , , . Visual Basic - , VB.


, - . , VB-
, Access. Boutique
Fudge, . , , , .
, Visual
Basic, .
Visual Basic
Access.

Visual Basic
,
, , Visual Basic, . ,
, . , , .


, , .
, .
.
, , , . :
TextBoxOne.Value = TextBoxTwo.Value
TextBoxTwo.Value = TextBoxOne.Value

, .
, - .
(On Click) .
, . . 17.1 .

. 17.1. : . :
.
, , .


. VB
Dim ( . dimension ,
" "). Dim .
TextContent:
Dim TextContent

.

, ,
VB. , Variant
, , , . . VB . ,
.


As. TextContent
:
Dim TextContent As

String

, :
Dim NumberContent As Long

.
Visual Basic. String, Date, Boolean
( ), Long (,
), single ( ) Currency ( ,
).
VB
Access. : Microsoft Visual Basic
(Microsoft Visual Basic Help Microsoft Visual Basic help) Visual Basic. Visual Basic for Applications Language Reference
Visual Basic Language Reference Data Types.
,
. ,
.
:
TextContent = " "
.
.
Dim TextContent
'
TextContent = TextBoxOne.Value
'
TextBoxOne.Value = TextBoxTwo.Value
'
TextBoxTwo.Value = TextContent


, , , .
. , .
. .

: , ( ).
.
,
= (), < ( ), > ( ) ( ). , Price=10 . ( Price 10) (
). . Visual Basic .
. . ,
, If. If
, . ,
Access .
If, , Price
100. , Access :
If Price > 100 Then
MsgBox ", ."
End If
, If If
End If. If , . , , .
. , , . ,
(Country) .
' ,

Dim TaxRate
If Country = " U .S . A . " Then
' (7%)
TaxRate = 1 . 0 7
Elself Country = "Canada" Then
' (14%)
TaxRate = 1 . 1 4
Else
'
TaxRate =1
End If

'
TotalWithTax.Caption = Price * TaxRate
I f . Access
- , , . , End I f, ,
. , Access Else ( ). . 17.2
.

. 17.2.
, , .
(On Current), ,

.
And Or ,
. .
15 ,
. : WantsEmail Email Address.
WantsEmail (Yes), EmailAddress

. WantsEmail (No), EmailAddress


. VB-
, If (
1):
1
Private Sub Form_BeforeUpdate(Cancel As Integer)
' ,
2
If WantsEmail = True Then
' , EmailAddress
3
If EmailAddress = "" Or IsNull(EmailAddress) Then
' .
'
4
MsgBox "You can't be notified without an email address."
5
Cancel = True
6
End If
7
End If
8
End Sub
.
1 ,
(On Before Update). ,
True () False ()
Cancel, .
2 If, WantsEmail.
3 . ,
, . ,
(
) (. .
; . null . "
" 4).
4 . , , If True. False ( WantsEmail EmailAddress ), Access .

If ,
. ( , )
. , ,
.

. ,
. .

5 Cancel,
(On Before Update).
, .
68 : If .
Access , ,
(On Before Update). Cancel, . , True
, .


, , .
Visual Basic , .
Do/Loop For /Next, .
Do/Loop, :
Do
MsgBox "Ever ever get that nagging deja vu feeling?"
Loop
Access ,
.
, Loop .
( Do)
, . , ! , (
<Ctrl>+<Break>).
,
, . , ,
:
'
Dim NumberOfTimes
' 0
NumberOfTimes = 0
Do
MsgBox "Ever ever get that nagging deja vu feeling?"
' 1
NumberOfTimes = NumberOfTimes + 1
Loop Until NumberOfTimes =5

, Until Number0fTimes=5. , True ( NumberOfTimes 5),


Access .
, , For/Next. , Do/Loop , ,
.
For/Next:
Dim NumberOfTimes
For NumberOfTimes = 1 To 5
MsgBox "Ever ever get that nagging deja vu feeling?"
Next
- NumberOfTimes=l To 5, Access NumberOfTimes, 1, 1 .
Do/Loop . , , ,
.
,
.
For/Next , , .
, .


, ,
, .
, , ,
. , ,
. .
Function DoSomething()
'
End Function
, . , .
, ,
. ( , , ,
.)

:
Function GetMyFavoriteColor()
GetMyFavoriteColor = "Magenta"
End Function
GetMyFavoriteColor ( ). "Magenta" ().
.
, , .
:
MyModule.GetMyFavoriteColor
. GetMyFavoriteColor, ( Magenta).
, .

:
'
Dim Color
'
Color = MyModule.GetMyFavoriteColor
'
MsgBox "Your favorite color is " & Color
- ,
Color:
MsgBox "Your favorite color is " & MyModule.GetMyFavoriteColor
GetMyFavoriteColor , . . . . ,
, :
Function Area(Length, Width)
Area = Length * Width
End Function
. , .
.
Length () Width () . , ,
Area.
MsgBox "The area of a 4x4 rectangle is " & Area(4, 4)

:
The area of a 4x4 rectangle is 16
GetMyFavoriteColor (), Area () , .

.

,
.
, ( )
Private. , ,
Access.
, , ( ,
, LengthOfRoom ( ) WidthOfRoom
( ) ):
RoomArea: Area (LengthOfRoom, WidthOfRoom)
:
Area(LengthOfRoom * WidthOfRoom) < 10000
. 7 4
. ,
MyHouse, .

:

, Visual Basic, , , VB ( ).
ValidateCard
( ), . ValidateCard
: True ( ) False
( ).
, , (. ).
. ValidateCard . - ,
.

.
(Luhn Algorithm)
ValidateCard , , IBM 1960 . , . .
, , . ,
,
.
Web-
http://en.wikipedia.org/wiki/Luhn_algorithm.
"Reader's Digest".
1. ,
. 2 . , 1111
2121.
2. 9,
. ,
1166 2136. 6 (
12) (1 2) ( 3).
3. .
2136, 2+1+3+6 ( 12).
4. 0 ( , 10),
. .
, . , . , , ( ,
).

ValidateCard.
, ( ):
Function ValidateCard(CardNumber As String)

2
3

' ( )
Dim SumOfDigits
SumOfDigits = 0

4
5

' , ,
' .
' (1)
Dim OddNumbered
OddNumbered = True

, . .

6
7
8
9
10

20
21

Dim i
For i = Len(CardNumber) To 1 Step -1
Dim CurrentNumber
CurrentNumber = Mid(CardNumber, i, 1)
If OddNumbered = False Then
'
11
CurrentNumber = CurrentNumber * 2
12
If CurrentNumber >= 10 Then '
' , .
' ,
'
13
Dim NumText As String
14
NumText = CurrentNumber
15
CurrentNumber = Val(Left(NumText, 1)) +
16
Val(Right(NumText, 1))
17
End If
18
End If
'
19
" SumOfDigits = SumOfDigits + CurrentNumber
.
' True False
' False True
OddNumbered = Not OddNumbered
Next
' 10,
22
If SumOfDigits Mod 10 = 0 Then
23
ValidateCard = True
24
Else
25
ValidateCard = False
26
End If
27 End Function

1 . ,
.
As String. , ,
.

23 ,
.

45 , ,
, , .

67 For/Next.
, Step
-1. ,
1 ( 1 ).
.


Len, . ,
11 , 11 (
).

89 ,
. Mid .

10 ,
, .

1117 , ,
. ( 11).
, ( 1315).

19 .
, . ,
.

20 (
).

21 6
.

2226 . 10,
. Mod,
(
10, , .)

,
, ,
VB, , . ,
.
, ValidateCard,
.

, , CardNumber:
Private Sub CardNumber_BeforeUpdate(Cancel As Integer)
If ValidateCard(CardNuraber) Then
MsgBox "Your card is valid,"
Else.
MsgBox "Your card is invalid. " & _
"Did you forget a number, or are you trying to cheat us?"
Cancel = True
End If
End Sub

CardNumber, . 17.3.

. 17.3. Validate Card AddCreditCard (


) Boutique Fudge . CardNumber,
,


, Access
. ,

. . ,
Visual Basic ,
.
.
. , .
. ( , Visual Basic
, ,
.)
. ,
. , : Order
Order_Subform. Order_Subform
Order ,
Order. - Order_Subform, Order .
, , . Visual Basic
. .

, ,
.
, , .
, ,
. ,
.

,
. ,
. , , ,
, . , -
,
, . . .

, , Access , . Access , . ,
.
.
1. , .
, Sub Function.
, .

2. (. 17.4).
Access .
. , , . .

. 17.4. . ,
. () ValidateCard

, .

3. .
.
,
.
Access , (break mode). .
.
. , ,
. <F8>.
( ),
(. 17.5).

, , <F8>
.

.
ValidateCard, , , Access ,
.

. 17.5.
ValidationCard. , , <F8>
. For/Next ()

. Stop () (
) Visual Basic .
. ,
. , , Access . , ,
, "This action will reset your project" (" ").
, Access ,
Stop () Visual Basic.

, .
- (. 17.6).

. 17.6. CurrentNumber, ,
4.
, . <F8>
,

.
, <F5> ( Play () Visual Basic).
Access
( , ).

. ,
. ,
, <F5>
.

Visual Basic .
, , .


. , , -, . ,
, - ValidateCard
, !

, - ,
. (
). , .

.
,
. ,
, , .

, Access , , , .
, ,
, , , . , , , , .
.
Visual Basic , Access ,
. On Error.
On Error .
Access , , :
On Error Resume Next
. ,
.
, .
Access . .
On Error Goto ErrorHandlingCode
Access ,
ErrorHandlingCode, - . ,
(:), , :
ErrorHandlingCode:
' , Access
, , ValidateCard:
Function ValidateCard(CardNumber As String)
On Error Goto ErrorHandlingCode

' ,
Exit Function

ErrorHandlingCode:
MsgBox "Oops. Did your credit card number have letters?"
ValidateCard = False
End Function
. -, On Error
c , ,
. -, ,
, , Exit
Function. Access
, . ,
,
, .
. Exit
Sub Exit Function, .

, , AddCreditCard,
, ,
, ,
.
, ValidateCard
(On Update), .
(On Update)
. ,
.

. Access
:
On Error Goto 0
, .
,
.


Access , , VB, .
, ,
.
Access ,
, .
, , , , , , -, . . ,
, .
, ,
VB.

Access :
Access (.
. " " 16);
VBA (Visual Basic for Applications),
Microsoft (

http://msdn.microsoft.com/office/reference/vba).
Access, .
VB-, . ,
, - ,
.

, ,
-. acedao.dll ,
(. .
" " ).

. 17.7. , ,
, . ,
, . ,
, , Visual Basic
Access, ,

, DAO (Data Access Objects, ) . DAO


Access, Access. DAO
,

, Access. , .
.
Visual Basic Tools References
( ). References, . 17.7.
References , ,
. Available References ( )
,
Access . , , Microsoft,
Office. , , . Access.

.
Windows-
Word ( Excel, (Notepad)
Dance Dance Revolution)?
Visual Basic shell, . Shell , . Windows- :
Shell "C:\Windows\calc.exe"
shell, Windows , .
. , .
Shell , .
Shell, .
: " Microsoft Word" " ".
,
( -
Program Files). , Shell , , - , -
.
? , , .
, Microsoft Office, . ,
Visual Basic. ,
.
, .

Word , ,
10 .
, , , , Word, GothicWedding.doc:
Dim Word As Object
Set Word = CreateObject("Word.Application")
Word.Visible = True
Word.Documents.Open CurrentProject.Path & "\GothicWedding.doc"
,
Word, Word. Microsoft's Office Developer Center ( Microsoft
Office) Web- http://msdn.microsoft.com/office.

DoCmd
DoCmd
Access. " "
, , , .
, DoCmd . , . ProductCatalog, OpenForm :
DoCmd.OpenForm "ProductCatalog"
DoCmd, OpenForm . Visual Basic ,
. , ( ),
:
DoCmd.OpenForm "ProductCatalog", , ,"ID=5", acFormReadOnly
ProductCatalog,
ID (), 5, " " .

acFormReadOnly.
, .
, " ",
acFormReadOnly. , ,
vb, , , . ,
, - ,
IntelliSense, . 17.8.

. 17.8. , Visual Basic


, . ,
( ), Access

OpenForm ,
(OpenForm) (. 15).
DoCmd , 15.
. 17.1 .
17.1. DoCmd

ApplyFilter

, , ,

Close

( ,
)

CopyDatabaseFile

FindRecord, FindNext
GoToRecord
Hourglass

(
). ,
,

17.1 ()

OpenForm, OpenQuery,
OpenReport nbl . 15,
(OpenReport) (OpenQuery)
Printout

Quit

Access

RunCommand

,
Access, .
. . " "
,
RunCommand

RunMacro
RunSQL

ShowAllRecords

SQL-. .
,
,
, ,

VB-
Visual Basic DoCmd, , . .
1.

, .

2.


(Database Tools Macro Convert Macros to Visual Basic).
,

(Database Tools Macro Convert Form's Macros to Visual Basic).

(. 17.9).

. 17.9. , Access FindHayEater

3. , ,
(Add error handling to generated functions) .
.
4. VB, ,
(Include macro comments).
, .
5. (Convert).
Access , -[] (Converted Macro[YourMacroName]). Access . (. . " " 15), Access
.
Access Visual Basic, .
15
( . " " 15), AnimalTypes:

Function FindHayEater (

On Error GoTo FindHayEater_Err


DoCmd.OpenForm "AnimalTypes", acNormal, " ", " ", , acNormal
DoCmd.GoToControl "Diet"
DoCmd.FindRecord "=""hay""", acAnywhere, False, , _
False, acCurrent, False

FindHayEater_Exit :
Exit Function
FindHayEater_Err:
MsgBox Error$
Resume FindHayEater_Exit
End Function
, DoCmd
DoCmd.
OpenForm , GoToControl
Diet , , , "hay".
, ("").
Visual Basic ( ,
).
, , . , .

, FindHayEater__Err,
.

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

Visual Basic
16 Boutique Fudge,
, , . , , Boutique Fudge , . , ,
.
, , Boutique Fudge,
( , ).
, , ,
.
.
" " Customers
. .
" " .
( Orders OrderDetails) (
Products Customers) . , , (. 17.10).
" ". , , . , ,
.
VB.
,
. , ,
. ,
. :
PlaceOrder .
PlaceOrder_Subform, ;
AddProduct .
PlaceOrder ;

ShipOrders . ReviewOrderDetails .

. 17.10. Orders OrderDetails.


, ,
, ,

, (. . "" ).

( , . .), , .
, ,
.


, . -

( ) (. 17.11).

. 17.11. PlaceOrder

PlaceOrder , ,
,
( ID )
, , (Locked)
. (Data Entry)
,
.

. , ,
,
PlaceOrder_Subform:
=Quantity * Price
, ( Price Quantity)
, .
.

Format,
, ($):
=Format (Quantity * Price, "Currency")
Quantity Price
OrderDetails. , PlaceOrder
. , - ( ), , .
Quantity Price ,
, .
Access,

(domain function).
. . .

.

, . , .
Access .

DSum .
.

DAvg .
.

DCount .
,
.

DMin DMax .
.

DFirst DLast .
,
.

DLookup , .
ID.

.
( ), . . , . , Boutique Fudge,
Price ( ), Products (
) , Beverages
() ( ).

DSum.
OrderDetails, ,
OrderlD . ,
. ,
Price Quantity.
, :
=DSum("Price*Quantity","OrderDetails","OrderID=" & [ID])
, .
. ,
. (ID) 455,
OrderDetails, OrderID=4 55.
Format, ,
.
,
. Access
. ,
. Form.Recalc,
OrderDetails , .
, :
Private Sub Form_Afterlnsert()
Forms("PlaceOrder").Recalc
End Sub
Private Sub Form_AfterUpdate()
Forms("PlaceOrder").Recalc
End Sub
Private Sub Form_AfterDelConfirm(Status As Integer)
Forms("PlaceOrder").Recalc
End Sub
, .


5, - ,
, .
, (""
" "). , ,
. ,
OrderDetails .

. . ProductID OrderDetails.
Products .
, . On
Change () ProductID, .
DLookup
Price . , :
Private Sub ProductID_Change ( )
Price = DLookup("Price", "Products", "ID=" & ProductID)
Quantity =1
End Sub
1 Quantity,
. , Price Quantity ,
. ,
(Locked) Price, 1
( Boutique Fudge). , ,
.


.
. DLookup
.
cophone Music
, .


Boutique Fudge . - , (, ),
.
ProductID . , Access.
Access ,
: (On Not In List).
(On Not
In List), Access . ,
, Access .
(On Not In List) : NewData Response.
NewData , .
Response , , Access
, .

, Access, (On Not In List) ProductID:


Private Sub ProductID_NotInList(NewData As String, Response As Integer)
End Sub
(On Not In List), ,
, , . MsgBox, . Access : (Yes) (No).
MsgBox , ,
:
Dim ButtonClicked
ButtonClicked = MsgBox("Do you want to add a new product?", vbYesNo)
ButtonClicked .
( ), Visual Basic ButtonClicked , ,
. 6, , 7, .
, ,
vbYes ( 6) vbNo (
7).
(On Not In List). , (. 17.12),
, , , :
Private Sub ProductID_NotInList(NewData As String, Response As Integer)
' /
Dim ButtonClicked
ButtonClicked = MsgBox("Do you want to add a new product for " & _
NewData & "?", vbYesNo)
' Visual Basic vbYes vbNo,
'
If ButtonClicked = vbNo Then
'
ProductID.Undo
' Access .
'
Response = acDataErrContinue

Else
' ( )
End If
End Sub

. 17.12. .
<Enter>,

, . , -|
(, ),
[ . .
DoCmd. OpenForm:
' Access ,

Response = acDataErrAdded
' AddProduct
DoCmd.OpenForm "AddProduct", , , , , acDialog, NewData

, OpenForm, .
acDialog , . . Access
ProductID_NotInList , AddProduct .
,
PlaceOrder.
NewData
AddProduct.OpenArgs. AddProduct ,
, .
, AddProduct
(, NewData ) ProductName
AddProduct.
Private Sub Form_0pen(Cancel As Integer)
ProductName = Form.OpenArgs
End Sub
. 17.13 , .

. 17.13. AddProduct ,
. , , Access
, ( ). Access
, (Pop Up) (Data
Entry)

, AddProduct.
ProductID_NotInList
. DoCmd. OpenForm.
, , :
' ,
' ,
ProductID.Undo
'
ProductlD.Requery
' ProductID DLookup
Product ID = DLookup (ID, "Products", "ProductName='" & NewData & '"")

, , <Esc>
AddProduct. DLookup ,
Null ( ) ProductlD.
Access, ,
.

. (On Not In List), (On Change) . , ,


Price .
, . , Access , ( ProductID_Change): Product ID_Change
,
Boutique Fudge .


, ,
.
Boutique Fudge Orders OrderStatus
( ), .
New (). New
() .
In Progress ( ),
. , ,
Shipped () ShipDate .

.
. ,
,
. - , In Progress
( ) , - .
ShipOrders,
. (. 17.14).

. 17.14. , (
) . (Locked)
, .
Process (), (
, )

- Process (), . , , .
. ,
- :
Private Sub ProcessOrder_Click()
Form.Refresh

. New, , :
' StatusID New 2
I f S t at us ID 2 Th en
MsgBox "This order is not available."
In Progress (
) , :
Else
' StatusID In Progress 3
StatusID = 3
'
DoCmd.RunCommand acCmdSaveRecord

( DoCmd.
RunCommand, ).
.
, ,
.

ReviewOrderDetails, (. 17.15). , ShipOrders


, :
DoCmd.OpenForm "ReviewOrderDetails", , , _
"OrderID =" & ID, , acDialog End
If
End Function
ReviewOrderDetails .
Ship (), Access Shipped () .
Private Sub Ship_Click( )
'
DoCmd.Close
' ShipOrders
DoCmd.OpenForm "ShipOrders"
'
' StatusID Shipped 4
Forms ("ShipOrders").StatusID = 4
DoCmd.RunCommand acCmdSaveRecord
End Sub

. 17.15. ReviewOrderDetails , .
,
. ReviewOrderDetails
, , PartNumber Products

(Control Box) (Close Button)


ReviewOrderDetails .
Ship
() Cancel (). ( , , , -
, ReviewOrderDetails.)

DoCmd. OpenReport
, , .

Cancel (, ,
),
New ():
Private Sub Cancel_Click()
'
DoCmd.Close
' ShipOrder
DoCmd.OpenForm "ShipOrders"

'
Forms("ShipOrders").StatusID = 2
DoCmd.RunCoiranand acCmdSaveRecord
End Sub
, .
, IV, . , IV,
. .

, ,
(, On Hold () Waiting For Stock (
)). ,
. , ,
ProcessOrder_Click ,
.


ShipOrders, ,
Boutique Fudge . . ,
, .
UnitsInStock,
.

UnitsInStock, . ,
Access?
, , , .
, . , , Access , . , (
DAO).
DAO ,
. .
* DAO .
, .
(, ,
), , .
DAO . SQL (. 6).

DAO . , CurrentDb. Execute, SQL-, :


CurrentDb.Execute MyUpdateCommand
, , .
Recordset. CurrentDb. OpenRecordset SQL- .
Dim Recordset
Set Recordset = CurrentDb.OpenRecordset(MySelectCommand)
Recordset ,
.
Recordset .MoveNext. , ,
Recordset .EOF, (end-of-file). True,
.
Recordset . Recordset .EOF
, , Access
Recordset. . MoveNext : Do While Recordset.EOF = False
' ProductName
MsgBox Recordset("ProductName")
'
Recordset.MoveNext
Loop
, , , .
( .)
1

Sub UpdateStock()
' , DataAccessError

On Error GoTo DataAccessError


' SELECT
3 Dim Query
4 Query = _
"SELECT ProductID, Quantity FROM OrderDetails WHERE OrderID=" & ID

5
6

7
8
9
10

11
12
13
14
15
16
17
18
19
20

21
22

'
Dim Recordset
Set Recordset = CurrentDb.OpenRecordset(Query)
' .
'
Do Until Recordset.EOF
' ID
Dim ProductID, Quantity
ProductID = Recordset("ProductID"}
Quantity = Recordset("Quantity")
' UPDATE,
'
Dim UpdateCommand
UpdateCommand = _
"UPDATE Products SET UnitsInStock = UnitsInStock-" & _
Quantity & " WHERE ID=" & ProductID
'
CurrentDb.Execute UpdateCommand
' ( )
Recordset.MoveNext
Loop
'
Recordset.Close
CurrentDb.Close
Exit Sub
DataAccessError:
' .
'
MsgBox Err.Description
End Sub

1 . ,
, ,
Ship () .

2 Access ,
.
, .

34 SQL-,
OrderDetails, . (
SQL- SELECT . . " " 6.)

56
Recordset.

7 , Recordset.

810 ProductID Quantity

OrderDetails ( Recordset).

1113 SQL-
UPDATE.
.
: UPDATE Products SET UnitsInStock = UnitslnStock-4 WHERE
ID= 14. 4 14 .

14 .

1516
( , Recordset
).

1718 .

19 . ,
- , !

2022 , - .
.

, , .
, . , . !

.
D D
, Microsoft -
, ADO (ActiveX Data Objects,
ActiveX). DAO, ADO
.

, Microsoft ADO
,
, SQL Server, a DAO
Access.
Access (), ADO DAO
Access. (
Microsoft, , ,
.) , DAO, Access. , DAO ,
. ADO VB, , ,
DAO, , -
, ADO DAO.

VI

Access

18.
19.
20. Access SQL Server
21. Access SharePoint

18

, , ,
. Access
- . ,
- .
,
. , ,
. (
Access, .)
.
;
, .
, .
, . ,
,
.
Access.
,
, , .


, ,
, . , ,
.
,
.

.
(, Web- HTML
Excel). , ,
, Access. ,
19.

. .
, "Uncle Earl" Access,
.
.
"Uncle Earl" ,
. , "Uncle
Earl".
.
, SQL Server
SharePoint.
. Access
, .
,

. 20 (SQL
Server) 21 (SharePoint).
Access.
(, ),
.
( , "Uncle Earl", ).
Access .
, 40
- .
, Access .
,
. ( ,
, .)
, , Access. , , , , , Access.

Access
Access . , , ( ) . , ,
.
, , ? . , , .
, , Access .
40 . ,
, .
, ,
.


(40) , .
Access , 90 100
. ( )
.

15 . ,
. ,
. - Access ,
, .
,
(. . "
" ).

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

. ,
,
.
, .

,
.

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

. .
, ,
Web-, 24 ,
. , Access
.
, ,
,
.

Access
. (,
Windows).

, Access . , Access , , , SQL Server. (He

, Access.) SQL Server 20 SharePoint Server 21.


, Access ,
, . .


, , ,
Access , . ,
, .
- , , , .

,
.
, .


, :
(back-end database)
, ;
(front-end database) ,
, , , , ,
.

(, ). .
, . . 18.1
.
.
. ,
, , ,
. ,
, (
).
.
.
, Access ,
.
I
, , ,
, , .
( ),
, , .

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

. 18.1. ,
, ,

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

,
. ,
Access
.
,
.

.
Access.
.

, .

,
.
( ) . .
Windows , Windows XP.
1. .
2. ,
(Properties).
3. (Sharing)
(Share this Folder).
4.
, .
5. .

.
, , , . , . , ,
. , "Revenge of the Demon Spawn Legion Part IV", , ( ) . , , . . ,
, . -
, .
-
. Windows,
. , . , , .


,
Access.

. ,
.
.
1. , (, ,
).
Boutique Fudge Cacophone Studios, .
2. , .
, - .
Access ( Office
(Office Manage Back Up Database)), Access .
3.
Access (Database Tools Move Data Access Database).
(Database Splitter) (. 18.2).

. 18.2. .
,

4. (Split Database).
, .
, ,
. (. " .
" .)



( ,
).

5. (Split)
(. 18.3). Access ,
.
- .
, : " " ("Database successfully split"). Access .
, ( ), .
; , . ( ,
, .)
6. , .
.
, CD . , , .

. 18.3. Access "_be"


. , JoesTaxidermy.accdb
JoesTaxidermy_be.accdb


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



. -, , . , , :, ,
D:, CD-ROM, F:, .
, -
. , , F:, - :. , , .
, . , .
, UNC-
(Universal Naming Convention, )
. UNC , . UNC- ,
. , UNC-
, , .
UNC- .
:
\\\
UNC- \\SalesComputer\Database. (My Network Places), Access
UNC-, .
Access UNC- Access. , Access ,
, , ,
( 255 ).

.
Acess?
,
Access?

Access Access 2007.


, Windows 95.
Access 2003,
Access 2003. (
. " , . Access , " . " " 1.)
, ,
Access 2007, Access 2003. Access 2003, .


. ( )
, ( ) . , , . (table
linking).
.
, . ,
, ( 2 ). . , ,
. , , , .

(. 18.4), .
, Access
.
, Access . ,
.

(
, , , ),
, , Access
.

, . .
1.

(Database Tools Database Tools Linked Table Manager) (


).

. 18.4. , .
, Access , ,

(. 18.5).

. 18.5. . ,
,

2. , .
, (Select All).
.
, (Always prompt for new location).
3. .
Access . , ,
.
, Access . , , . , .

.

, , ,
,
" " ("File already in use").
, , - ?
, -
(Exclusive mode). (. . " " ) . , Access ,
.
, .
( (Permissions) Windows, .) , . Access
laccdb. (. .
" " ).
laccdb Access . ,
.
, , , . , ,
Access ,
.


.
.
, .
. .
. , ,
.

. Windows
.

, .
. , Access
2 .
(, ), ,

.

Access. Boutique
Fudge , ,
. ( ,
"Missing CD" Web- www.missingmanuals.com.)
1. .
:
( BoutiqueFudgeSecrets_be.accdb) ( BoutiqueFudge_be.accdb). ,
Access ,
.
2. .
.
Access.
BoutiqueFudgeSecretsJbe.accdb. ,
.
3. Access (External Data Import
Access).
(. 18.6).

, .
.
, , . .
.

. 18.6. , ,
,

4. (File name) .
BoutiqueFudge.accdb,
(, , ).
5. ... (Import
tables ... into the current database).
.
.
6. .
(Import Objects)
(. 18.7).
6. , , .
BoutiqueFudgeSecrets_be CreditCards ( ).
Access .
.
8. 27 .
BoutiqueFudge_be.accdb
CreditCards.

. 18.7. .
,

, .
9. .
BoutiqueFudge.accdb.
10. .
, .

. , .
11. Access (External Data Import
Access).
.
12. ,
(Link to the data source)
.
BoutiqueFudgeSecrets_be.accdb.
13. .
Access .
,
.

14. 11 13 .
BoutiqueFudgeSecrets_be,
BoutiqueFudge_be, .
, ,
: BoutiqueFudgeSecrets__be.accdb , BoutiqueFudge__be.accdb BoutiqueFudge.accdb ,
. ,
. . " " ,
, .


, .
Access
.
Access: -,
, .
, ,
.
. (
.)

accdb accde. accde :
,
;
;
( );
.
, . .
, 1617, "" ,
.

Access mdb. mdb


mde.

accde .
.
1. .
2. , .
(. . " " 15), (Options)

, (Enable Content)
.
3,
ACCDE (Database Tools Database Tools Make ACCDE).
(Save As).
4. accde.
Access
.
accde ,
accdb . . Access
accde ,

accde.

accdb ,
. .
Web-, ,
() accde accdb.

.
ACCDE
ACCDE ?
accde . , ,
accde, .
, ,
accde ,
. ,
, .
.
, ,
.
, accde,
accdb
accde.
accdb . : accde-
, accde-
, .
, .

accde
, ,
.

, Access
,
Access ? , .
Microsoft Access, Access (Access runtime engine). Access , ,
. .
Access Access.
, . . (
.) ,
Access , .

Access
, , Access.

, Access?
. Microsoft 2007 . ( Access 2003 Microsoft , Access 2007
Web- Visual
Studio). Access,
"Missing CD" Web-
www.missingmanuals.com.
, .
.
1. ,
.
Access ,
, .
, .
Office Access (Office
Access Options). (Current
Database). , , (Display Form) ,
.
2. accdb accdr. (, "r"
runtime ().)

3. . , (. 18.8).
, Access accdb ,
.

. 18.8. accdr

Access
Access

Access. ,
.

.

Access 2003 ,
Web-.
Web-
, Access.
, Access Web . , Access
.

Web- . . , (,
), Microsoft Access 2007.
Web- , Access . , SQL Server,
Web-. ASP.NET (. www.asp.net),
Microsoft Web-,
.


.
, . , , . , ,
? , , - ?
?
, Access . ,
Access , ,
. , .


. Boutique Fudge. Access,
.

. : , ?
Access , ,
. 60 Access , , . ,
, . Boutique
Fudge ,
Access, 60 , .
.
( ),
Access . ,
, .
60
,
(Home Records Refresh All).

, , , ( (Refresh) (Refresh All)).


. , , , . .
.
60 , Access. Office
Access (Office Access Options). Access (Advanced) , () (Refresh interval (sec)) (. 18.9).

. 18.9. , Access
. ( ) 1
32 766

() Access, , . ,
, ,
Access.

, ,
.
. Access ,
, .


. Access
. , , .
, , , .
, , .
1. , Boutique Fudge.
2. Chocolate Abyss,
. ,
Description.
3. (Bill Evans) ,
Products. ,
, .
. ,
, .
4. , .
.
5. , Description
. Access
, . Access
, , ,
.
6. Access
(. 18.10).

. 18.10. -
. Access

.
(Save Record) .
, Access .
, ,
. ,
, Access .
(Drop Changes) . Access
,
. , , , .
(Copy to Clipboard), ,
. , , ,
, . 18.11.

. 18.11. ,
. (,
Word). , ,
<Ctrl>+<C>. , , Access
, , , <Ctrl>+<V>

. , . , - . , , ,
, .
, .


Access ,
, . . , .

, ,
. Access .
.
, .

.

.
,
. , Customers
() CustomerAddress ( )
CustomerFinancial ( ).
CustomerAddress CustomerFinancial
"--".
.
, , . , ,
, , . CustomerAddress , CustomerFinancial.
,
.


,
. , , .
, . ,
, . ,
, Access . , ,
, .

Access. Office Access (Office Access Options),
(Advanced)
(Default record locking).

(No locks) Access.


, Access
.
(All records) Access
, - .
,
, .
.
(Edited record) ,
, .
.
, Access , - . , Access , , . 18.12.

. 18.12. " "


, .
, Access

,
. Access

" ", . Access , laccdb. , - BoutiqueFudge_be.accdb, Access
, BoutiqueFudge_be.laccdb. ( "l" "locking"
().) , Access .


laccdb, , -
(Exclusive mode).

, ,
. , .

, ,
. , ,
, .
.

, , Access. (No
locks), ,
, Invoices ().

(Property Sheet) (Record Locks). : (No Locks) ( ), (All
Records) (Edited Record).

. - ,
, ,
. , ,
.



. , (Exclusive mode).

. , , , .
, .
, .
1. .
, - . . , , . ,
, , , , .
2. Office (Office Open).
.
3. , ,
(Open).


(. 18.13).
4. (Open Exclusive).
Access . - .
, ,
.

. 18.13. , ,
. ,

Access ,
. ,
.


,
Access. , ,

, , , ,
. ,
.
, , ,
. (Jessica Baxter),
, (
- ). , . , , .
,
.


Access . -, , . , .
, ,
, " " (out of memory). ( ,
,
, , " " (file already in use).)
, , ### ???.
,
, , , ,
.
.
"Unrecognizable database format" (" "), .

, , ,
. ,
, .

Office (Office Manage
Compact and Repair Database). ,
.
, .
,
.

, .
.


.
, (,
), .

Access
. ,
.
.
. Access .
, , .
. , ?


,
.
, . "
Access" .
,
.
,
.
. ,
,
.
,
.

( Office
(Manage Compact and Repair Database)).
,
. ,
, .
.
.
, .

.
, ,
.



. ,

, .
.
. , ,
, .
, Access 2007 .
, , .
, - , , , , , SQL
Server.

Access ,
, . , Access .
, , , ,
, .

.

Access, , , Access
, . Access ,
, . , , .
.
,
. . , Access - .
.
Microsoft .
Access 2007, , , , , SQL Server,
. Microsoft accdb.
mdb, , , ,
Access. accdb
, Access .


Access , .
. , ,
. -
,
.

Access 2007 .
, , .

. .
1. Office (Office Open).
. , Access , -.
2. , ,
(Open) (Open Exclusive).
.
3.
(Database Tools Database Tools Encrypt with Password).
Access (. 18.14).

. 18.14. Access

4. .
, .
(10 ), , ( ) (, , ).
hellodata , w0nDER_wh@t_32 .
Access
.
.

, ,
(Remove Database Password and
Encryption).


, ,
. ,
, ,
. : ,
, Access . , , .

,
, . Access
, .


, ,
. , , ,
.
,
.
.
. ,
, .
.

. ,
.

Windows
. Windows ,
.
.
, , ,
. , , . .
1. Windows, ,
, (Properties).
(Properties) ,
.

2. (Security) (. 18.15).
Windows
. , Markamlon
, , ,
. .

.

. 18.15. ( ),
, , .
-12, ,
, -12

3. , (Allow)
(Deny) (. 18.16).
, , (Users) ;
(Deny) .

(Deny) . ,
, ,
(Deny) .

. 18.16. - , , . .
, . ,
, . (
).

4. ,
(Add), .
, , .
Windows . Access.
, , , .
, , ,
, , .
, , , SQL Server. ,
.

19

Access .
. , .
. .
. :

;
- Access ,
.
Access .
, XML-.
, ,
.
Access, .


, ,
. , .
.
.


. , () ( ).

. Access.
. , ,
.

, .
- .
Access , Access
, .
PowerPoint.

.

Access ,
.
PowerPoint .
(. . " " 7),

.

Excel. Access
,
, , .

, Excel.
, ,
Access . , Word,
,
, . Word Access.


, , . ,
.
Excel.
Excel .

. ,
. ,
, 12.

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

(, 4302), ,
, (, High
Priority).
, , . ( Customers) ( Orders).
, . ,
.
, ,
Visual Basic, . (
DAO, . " " 17.) , ,
,
.

.
SQL Server SharePoint:
.
SQL Server ,
20. Access ,
SQL Server. . Access , . 20.
SharePoint , . SQL Server, SharePoint , Web. SharePoint ( ),
21.


, ,
, ,
. Word Access . , , , , .

Windows-
. <Ctrl>+<C> ,
<Ctrl>+ +<> (. . ) <Ctrl>+<V>
.

,
, .
.
.
, , . .

. Excel,
, , Word
WordPerfect. Visio,
Paint.
( Excel Visio) Windows.
, .
,
, .
Access . , .

, Access. ( ).
, , .

Access
Access
. Access
,
. Excel, HTML- ( ,
Web-) RTF- ( ,
Microsoft
). I HTML RTF ,

.
.
1. , .
, ,
. 19.1.
. .
.
.
Access
(. . " " 3). ,
(
(Home Records
More Hide Columns)), Access .
, .

. 19.1. ,
.
. , ,
<Ctrl> .

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

2. <Ctrl>+<C> .
Windows.
Access .
3. , .
, Excel
Word (. 19.2).
4. <Ctrl>+<V> (. . 19.2).
Access , .
(. . " "
3), .
, ,
-, . Office -
(, ).

, .
. ,
, .

. 19.2.
Word, . , ,
,

.

, , Access Access, .
, ( ),
.

(Paste). Access
.

(Structure) ,
.

(Structure and Data)


.

(Append Data to Existing Table)


.
,
.

( ) .

Excel Access
Access , , , , .
, .
,
, . Access .
Excel Access . Excel Access . , Excel (
, Access). , Excel - , ,
.
.
1. Excel , .
, .
Access .

, Excel .

2. <Ctrl>+<C>, .
3. Access.
4. -
<Ctrl>+<V>.
Access , Excel,
. ,
.
5. 1 , , .
, Access
.
Access .
, Excel. 1 (Sheetl) (
Excel), 1.
Access , , , .
6. .
, , , .


, , . ,

(
), .
,
, Windows ,
Access.
Microsoft Access 2007, , .
, (External Data) (. 19.3).

. 19.3. Access
.

(Import) (Export)
. ,
(More),
.

, .
,
Access .
, Access
. ,
(. . "
). , (, ).



.
Access. , .
Access . 18, .
Excel. Excel.

SharePoint. , SharePoint.
SharePoint .
SharePoint Access. 21
Access SharePoint.
. . ,

(, ).
, -
. , Access
.
,
- .
XML-. XML- (Extensible Markup
Language, , Web). XML ,
.
XML- ,
XML- , .
(More),
, .
ODBC (ODBC Database).
, ODBC (Open DataBase Connectivity,
). ,
, , Oracle, SQL
Server MySQL.
HTML (HTML Document). ,
Web-. HTML (HyperText Markup
Language, ) (
), . ,
.
Outlook (Outlook Folder). Outlook
Outlook Express.
dBase (dBase File), Paradox (Paradox File), Lotus 1-2-3 (Lotus 1-2-3
File). ,
.


, ,
.
1. (External Data Import)
, , .
, (. 19.4).

. 19.4. ,
. Access

2. , .
( ),
... (Browse...)
(File Open). , .
3. , .
. .
o

(Import
the source data into a new table in the current database).
, - .
Access , .

(Append a copy of the records to the table).


,
,
, . ,

.
.
o
(Link to the data
source by creating a linked table). , Access
.
Access .
,
.
, . ,
,
( Access ).
18.

Access
(, SQL Server).
, .

4. .
, ,
Access. Excel, Access , . , Access , .
5. , Access
.
, Access
.
6. ,
(Save import steps).
(Close).
. " " , .

Access - ,
, , ,
_ (_ImportErrors). Access
.
SalesData, Access
(, ,
, ), ,
SalesData_Ouopa.


, :
el .

.

(
), ,
, .
Access ,
. Access
(ID) ,
,
(ID). , (ID), ,
Access . ,
.
, .
.

,
, ,
, .

, ,
.
(Find Duplicates),
(. . "
" 6).

,
. .

, .
Visual Basic ,
Access (
).

Excel
Excel . . , ( , ). ,
Excel. ( . " 5. " 5, ,
.)

, Excel
Access. , , .

Excel ,
.
1. Excel (External Data Import
Excel) .
.
, 13 .
2. Excel, (. 19.5).
Excel .
,
1 (Sheetl). Excel, ,
. ,
.

. 19.5. Excel : 1, 2 3.
,

3. .
4. Excel ,
(First Row Contains Column Headings).

.
, Excel
.
5. .
, Access
.
, 7.
6. ,
. .
Access - , ,
(. 19.6).

. 19.6.
. ,
() (),

7. , , Access .
(Let Access add primary key) (ID) ( ).
, ,
(Choose my own primary key) .

8. (Import to Table) ,
.
9. (Finish).

.
Excel .
, , . ( , - ,
, .)
, ,
, .


" " . , , Access , , .
, ,
. .
1. .
Access .

. , , , 43 ,
, ,
.

.
, , Access
( ) .


(
).

2. .
, Access , (. 19.7).
.
, Access

.
3. .
, Excel.

. 19.7.

, , , ,
(. . 19.6). , , (ID) .
, ,
.
( ).


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

, . .
Excel. Excel. ,
Excel
.
Word. Word, ,
. , . .
Word. (
, Word,
.)
PDF XPS. PDF-
, .
Excel Word PDF-
.

PDF XPS ,
Office. . "
"Save As PDF'" 10 , .

HTML. Web-,
Web- - . HTML,
Access, , .
.
, . , ,
.
,
.
XML-. xml
. ,
, XML-
.


.
1. , .
, . . , . (
, , .) , . , ,
.
2. , ,
.

, Access (. 19.8).

. 19.8. .
,

3. , .
Access . . , Excel, ,
XML, (xlsx-), xls-, , , Excel 97.
4. , ,
(Export data with formatting and
layout).
, Access
. ,
. ,
.

5. ,
(Open the destination file
after the export operation is complete).
, ,
. , Access , , (Excel
, . .). , , .
6. ,
(Export only the selected records).
Access , .
7. .
Access ,
.
Access
.
8. ,
(Save export steps).
.
, .

.

. Access . ,
Access ,
.
, -, Access. , Word.
, , ,
PDF. . " " 10 ,
.
Access , , . Access
(Datasheet view). (Form view)
. Access
.


. Excel
.
PDF. , . , ,
,
,
.
, Access . , ,
. , ,
( ).

. 19.9. .
, , .
Outlook Microsoft,
Outlook , ,

(Save
import steps) (Save export steps) , . , . 19.9,
(Save Import).

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

. 19.10. .
,

- .
, (External Data Import Saved Imports).
(External Data Import Saved Exports).

(Manage Data Tasks) (. 19.10)


(Saved Imports) (Saved
Exports). , .
, .
.
(Run). Access ,
( ) ( ).
.
.
(Delete).
Outlook .

( ).
Outlook (Create Outlook Task)
Outlook. ,
(Run Import),
Access.
. ,
,
(Manage Data Tasks) (. . 19.10).
c:\My Documents\FancyFiles\WildExpenses.xlsx,
d:\HankSmith\EvenMoreExpenses.xlsx. ,
, - -, Access
.
,
(Close) , Access.

Access XML
XML (extensible Markup
Language, ), . Access 2007 XML
, XML . , Access
XML - , .

XML ?
XML .
. ,
Word, Excel XML-. , XML
- .
XML . XML
: , , ,
,

, Dodge Minivan, -
, . .
XML . ,
(, Java, Visual Basic C++)
(, Windows, Mac
Linux), XML .
XML ,
,
(, , , , , XML).
, XML (
HTML , Web-). XML , , . , ,
,
. , . ,
. , .
, XML , ? XML , , XML
. XML
, ,
.
, Acme Company XML- Acmelnvoice. Budget Company XML- Budgetlnvoice. ,
,
. XML.
XML . , ,
Worldwide Green, XML-
. , Acme Corporation
. , Acme
XML, XML-, ,
.
XML .
XML , , .

XML , ,
XML Schema XSLT (Extensible Stylesheet Language Transformations,
XML-), XML
XML, XML, XML
. . .

XML
, Access XML, . , XML,
XML- Access, ,
. , XML-. - XML,
.
, , : XML , . ,
XML-
. XML- .
Access , ,
, Access. (
, .)

XML- (document prolog). , , ,


XML-. , (, ).
, , 1.0 XML- ( ):
<?xml version="1.0" ?>
XML- , ,
.

XML- . . , ,
Name.
. . , . :
<Name>
Name. ,
, </ <. Name:
</Name>
XML-, . , - XML-:
<Name>Patrick</Name>

, <Name> ,
, , , , , . . XML- .

.

. , , , (-), (_) (.). ,
, ,
. XML- , .
, , ,
. , XML-, <Name>. - ,
XML-, ,
<firstName> <lastName>. ,
<Name>, , , <f irstName> <lastName>, .
XML-,

XML- .
XML- .
, , ,
.

XML-, . , . XML.
, .
, ,
:
<Name>Lisa Chen</Name>
<Age>19</Age>
<Name>Bill Harrison</Name>
<Age>48</Age>
<Name> <Age> , , :
<Person>
<Name>Lisa Chen</Name>

<Age>19</Age>
</Person>
<Person>
<Name>Bill Harrison</Name>
<Age>48</Age>
</Person>
<Person>, .
<Name> <g>, <Person>.
,
. , XML
.
XML .
, . ,
.
XML-. ,
XML- , <PeopleList>:
<?xml version="1.0".?>
<PeopleList>
<Person>
<Name>Lisa Chen</Name>
<Age>19</Age>
</Person>
<Person>
<Name>Bill Harrison</Name>
<Age>48</Age>
</Person>
</PeopleList>
, <Person>
, .
, , XML
. ,
. , XML- (
Access), , , .

:
<?xml version="1.0" ?>
<PeopleListXPerson><Name>Lisa Chen</Name><Age>19</
AgeX/Person><Person><Name>Bill Harrison</Name><Age>48
</Agex/Person></PeopleList>

XML
, XML- .
. XML-
. XML- Access,
XML- (
Access).
XML- xml. , , , ,
PersonList.xml.
XML- XML-. XML- , , XML . , ,
, ,
. XML
XML-. , XML-, XML, . (, , , .)
. (
, .) xsd.

XML
, W3 Schools,
www.w3schools.com/xml.

XML Access
XML . Access,
? : XML . , , , , ,
XML. Access
, ACCDB-
XML-.

, XML Access .
, Access XML-.
,
. . 19.11. ( XML- .)

. 19.11. , XML-

, Access XML-,
:
<dataroot>
<Product>
<ProductID>371</ProductID>
<Name>Thin-Jam Hex Nut 7</Name>
<ProductNumber>HJ-7161</ProductNumber>
<SafetyStockLevel>1000</SafetyStockLevel>
<ReorderPoint>750</ReorderPoint>
</Product> <Product>
<ProductID>372</ProductID>
<Name>Thin-Jam Hex Nut 8</Name>
<ProductNumber>HJ-7162</ProductNumber>
<SafetyStockLevel>1000</SafetyStockLevel>
<ReorderPoint>750</ReorderPoint>
</Product>

Access
:
<dataroot>;
Access ,
. ,
<Product> ;
Access .

<Name>, <ProductNumber> . .
XML- .
, ,
, XML-
. , ,
<ProductRecords>, <dataroot>
. , ,
XML-.
, . XML-
Access, ,
, XML- ,
. XML- Access
, .


, .
, ,
( ).

, XML-.
Access XML-
. XML- ,
.

XML-
, XML ,
Access, .
.
1. XM L (External Data Export More XML File).
.
2. , , .
Access , . ,
Orders, XML-
rders.xml.

3. , (. 19.12):
(XML) (Data (XML)) XML-
;
(XSD) (Schema (XSD)) xsd.
, ,
.
, ,
XML- Access,
Access;
(XSL) (Presentation (XSL))
xsl. ,
XML- Web- HTML,
Web-. , Access
htm-, xsl-. ,
Products, Web- Products.htm.
Web-, Products.xsl
Products.xml.

. 19.12. XML-, . ,

4. XML-,
... (More Options...).
XML (Export XML)
. XML.
(Data)
(. 19.13).
, Orders .
.
OrderDetails . Access XML OrderDetails Orders.
. , ,
OrderStatus CreditCards.
[ ] ([Lookup Data]),
, (
, ).

. 19.13. ,
. ,
,

, XML, (,
).
.

5. .
Access , 3.
6. ,
(Save export steps).
(Close) Access.

XML-
Access XML-,
, .
.
.
1. XML- (External Data
Import XML File).
.
2. , ,
. , ,
, 6.

XML-,
, ,
. , .
3. .
Access , (. 19.14).

. 19.14. Access ,
Orders, OrderDetails, OrderStatus CreditCards.

4. .
Access . .

, Access ,
(, Products1, Products2 . .).

5. (Close), Access.
6. XML- (External Data
Import XML File).
, , .
7. XML-, , ,
.
Access XML- ,
,
.

8. .
o
(Append Data to Existing Table(s))
Access .
, .
o
(Structure and Data) .
o
(Structure Only)
, .

,
( 15),
.

9. .
Access XML-.
, (Save export steps).


, .

. , Access, .
Access :
.
.
1. , .
2. , . (
,
.)
3. Access ,
. ,
( }' ).
, ,
. 19.16.
4. .
5. Access
.

. , .

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

.

Microsoft Outlook 2007 ( Office 2007).
, Outlook , ,
.
, .
, . ( .
,
, Access ,
, ,
.)
(,
), Access .
, , .
, - ,
.
. ,
,
. .
,
.


( , Outlook
) , .
,
Bachelors () Dating Service ( ).
, Dating Service "Missing CD"
Web- www.missingmanuals.com.
, .
1.
(External Data Collect Data Create E-mail).
. ,
.
2. , (Next).
, .
3. HTML- (HTML form) .
Access HTML-
. Access
,
.
(Microsoft Office InfoPath form) ,
InfoPath.

Office .
, InfoPath ,
InfoPath,
InfoPath.
HTML, , .
4.
. .
(Collect new information
only). Dating Service, , Bachelors .
(Update existing
information),
. , , Bachelors
, .
, .

, , ,
, . ,
Projects,
Project-ManagerlD, ProjectManagers.
.

5. , .
(Fields in table)
>.
.

(ID) Fields in table ( ).


Access , ,
.
, Access
.

6. .
, "Your favorite food is" (" ") , FoodPreference ( ).
, .
(Read-only),
. , . , , , .
7. .

, . Access
, .

8. (Next).
.
9. , Access , .
Access Outlook,
Access (Access Data Collection Replies). , .
Access. Outlook (Select Folder), (
(New) ).
.

,
.

10. ,
... (Automatically process replies...).
, 12.
, Outlook Access,
, . Access
. ,
, .
, - . , .
, ,
. , .
, - . , .
, ,
. , .

. 19.15. ,

11. ,
, (Set properties to control
the automatic processing of replies)
(Collecting Data Using E-mail Options) (. 19.15).
.
.
,
(Discard replies for those to whom you did not send the message) , .
(Accept multiple re
plies from each recipient) ,
. Access
. , , , ,
.
,
, .
(Allow multiple rows per reply)
, InfoPath.
,
( ).
(Only allow updates
to existing data) , (. ).
,
.
InfoPath.
(Number of replies to be processed)
. Access ( , ).
(Date and time to stop) . , , , .
12. (Next).
, .
13.
.
Microsoft Office Outlook (Enter
the email addresses in Microsoft Office Outlook),
( ).
15.
,
(Use the email addresses stored in a field in the database),
.

, .
.
14. ,
Access, .
(Next).

. 19.16. Bachelors. , Access


,

( )
( ).
Bachelors, Email
. , ,
ProjectManagers
Projects.
15. , ,
(Next).
(Subject) (Introduction).
16. . (Create)
.
Access
, (. 19.16).
, ... (...) ... (...).
(...) , .
( , , .) Outlook,
. .
17. ,
Send () .
. ( , -
).
Reply (), Send ()
.


, Inbox
() Outlook . ,
Export data to Microsoft Office Access
( Microsoft Access). ,
, Outlook Access (. 19.17).
Access ,
Access (Access Data Collection Replies) ( ,
9). Outlook ,
, .
, Access ,
, . - , , , , , .

. 19.17. ,
Access, Bachelors

,
Access .
. ,
,
.
. .
. ,
.
Access , .


, . Inbox ()
Access - .
, ,
. Inbox () Outlook
, Access , ,
.

, , Inbox () Categories ().


, .

.
- (,
,
), Access
. Export data to
Microsoft Office Access ( Microsoft Access).



, , . . .

. 19.18. ,

.
. , ,
,

Access , , .
. , ,

. (External Data Collect Data Manage Replies). (Manage Data
Collection Messages), . 19.18. ( . .
.)

, .
, -
?

20

Access SQL Server

18 ,
. - Access.
,
.
,
Access ,
.
,
Access
,
. Access
SQL Server, Microsoft. ( . "Access
SQL Sewer?" , .)
. ( SQL Server) , ( Access). ,
SQL Server, .

SQL Server?
, ,
, . Fortune 500 , , Access, 5 , ,
.
,
, ,
(, Memo
, ).
Access ,
. . " Access" 18 , ,

. Access ,
, .
,
, .
.
- .
Access , (. . "
" 18). ,
, ,
-,
.
. ,
Access (. . "
" 18)
. Access
, . ,
, .
.
. , .
(
Access), . ,
, Access
( " " ("Too
many indexes")) . . " " 18
, .

Access. ,
, Access

.
, ,
. ( SQL Server. SQL Server,
.
SQL Server,
.)

, , ,
? , SQL Server. SQL Server, ,
( ), .

SQL Server
SQL Server,
. . 20.1 SQL

Server Access. ,
SQL Server,
Access.

,
, Oracle DB2.
Access, ,
( ).

. 20.1. SQL Server ( ). Access ,


(, , )

,
Access.
,
( ) ()
.
. SQL Server
.
SQL Server ( , Windows-,
). , Access
, .
, ,
(, ).

.
SQL Server
SQL Server. , Access, , , ,
.

. , Access ,
.

. Access 2
. SQL Server ,
.

. , , ,
, , . ,
, SQL Server
.
, .
.

. . " " 18,


Access ,
. ( ,
Microsoft Access 2007,
.) SQL Server ,
, .

.
, , . ,
500 :
500 , 500 . SQL Server
,
.
,
, SQL Server ,
( 500
).

, , . , ,
SQL Server.

SQL Server
, , , ,
. 20.1 SQL Server. Microsoft
, .
20 000 .
, -: SQL Server

. , , ,
Microsoft.
SQL Server 2005 Express Edition, , . , ,
.
( ).
,
SQL Server Express , ,
Express.
Express 1 .
, - .
4 . , . .
Access 2 .
, -
.
, . SQL Server Express
SQL Server . Access, .

SQL Server Express ,


. ,
Microsoft (. 20.2),
Access. ,
, .

.
Microsoft?
Microsoft ?
, , . , SQL
Server Microsoft , , SQL Server,
.
, .
SQL Server Express, .
Microsoft , ? .
SQL Server Express, , . , SQL Server
Web- ( -, ).

Web- eBay, , ,
(,
).
SQL Server.
, , SQL Server SQL
Server. , , SQL Server Express , - .

SQL Server 2005 Express


SQL Server Express, .
, : 22 , 54 .
, .

, Access SQL Server Express, SQL Server. , , ,


, ,
DVD- .

SQL Server Express


SQL Server ,
. , . (
- , , , , -, .) ,
Access , SQL Server ,
Access.
, , . SQL Server . ,
, SQL Server ( 21). , SQL Server, .
, SQL Server . , , , .
SQL Server . (,
, Access.)
www.microsoft.com/sql/editions/express/sysreqs.mspx. ,
SQL Server , ,

. , Windows XP
Service Pack 2.

(Start)
Windows (Windows Update).

SQL Server, ,
, .
1. Web- .NET.
SQL Server .NET Framework 2.0. Web-
http://msdn.microsoft.com/netframework. URL- http://tinyurl.com/drj86.

Windows Vista, .NET


Framework 2.0. Windows Vista, , ,
. , ,
(Control Panel) (Administrative Tools)
, Microsoft .NET Framework
2.0 (Microsoft .NET Framework 2.0 Configuration). ,
4.

2. .NET Framework 2.0 , .


, 22 .
3.
, .
.
4. Web-
www.microsoft.com/sql/editions/express.
SQL Server Express. , SQL Server Express .
"Get SQL Server Express" (" ").
5. , SQL Server Express
(. 20.2).
Microsoft .
, Microsoft ( , SQL Server).
.
6. SQL Server (. . 20.2),
.
SQL Server , 54 .

. 20.2. . SQL Server 2005 Express (


), , SQL Server Management Studio
( ), ,
SQL Server 2005 Books Online ( )

7. , .
, .
.
,
. ,
SQL Server (. 20.3).
. ,
Hide advanced configuration options (
),
, .

. 20.3. SQL Server,


, , Pentium III

, .
, .
Microsoft
. , .
, Microsoft SQL Server
,
.
.
SQL Server , .
8. (. 20.4). .
o

Windows Authentication Mode (


Windows) , SQL Server

Windows.
. , ,

(. ).
Mixed Mode... ( ...) ,
SQL Server ,
Windows ( )
, . Mixed Mode...
( ...),

SQL Server, sa (system administrator,


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

"" "" Windows


, , Mixed Mode...
( ...). ,
(. ).

. 20.4. Windows Authentication Mode .


, SQL Server ,

9. , , .
.
Windows (Windows
Update) ( (Start)
Windows (Windows Update)). , . . SQL Server Express
( ),
Windows (Windows Update) .


SQL Server Express
Windows Vista. Windows Vista
SQL Server.

, , .
SQL Server , . . " SQL Server " , Access.
SQL Server , . .

SQL Server
SQL Server ,
, . .
.
SQL Server. (
.) Microsoft ,
, ,
, - - .
SQL Server , .
SQL Server , . Windows XP Vista,
Windows, SQL Server. (Knowledge Base)
Web- http://support.microsoft.com/kb/914277.
, , SQL Server . . SQL
Server , . . ,
.
SQL Server Express? .
SQL Server ,
, . (
, Windows
(Administrators).)
Mixed mode... (
...), , sa,
.
, SQL Server ,
- . , ,
SQL Server, Windows-
( , , ,
(Guests),

(Administrators) (DatabaseLovers) . .). Windows, . ,


SQL Server . ,
SQL Server Management Studio (. . 20.2).
SQL Server Management Studio Help ( ) ,
SQL Server.

, , , SQL Server
. , .
,
, ,
,
.

SQL Server
. SQL Server.
Access SQL Server:
Access .
SQL Server;

Access SQL
Server.

, ,
, . ( , Access SQL Server , Access. , ,
, - CD-
. , , .)
. , , . Access SQL Server (, , ). SQL Server,
.
.


Access SQL Server (Upsizing
wizard), Access SQL Server.
, .
Access, , ,

. ( ),
SQL Server.
.
1. , .
Database Tools Move Data SQL Server (
SQL-Server)1.
2. (. 20.5).

. 20.5. Access
SQL Server

3. Create new database ( )


Next ().
SQL Server SQL Server
(, ), Use existing database ( ) Access . .
, SQL Server,
.
4. (. 20.6) Access,
. .
, SQL Server,
, SQLEXPRESS. , SQL Server, FudgeServer,
FudgeServer\SQLEXPRESS. SQL
Server
1

Access. .

( Express), , , , FudgeServer. .

. 20.6. Access ,
MYSERVER, SQL Server Express

, (My
Computer) ( (Windows Explorer)),
(Properties).
(Computer Name).
... (Change),
.

5. Use Trusted Connection ( ).


Access
Windows.
, ,
.
6. Next ().
, , .

, SQL Server ( , ). . ,
(, BoutiqueFudge). SQL Server
, , .

7. , (. 20.7),
Next ().
Access , .
, . , , .

. 20.7. > Export to SQL Server


8.
SQL Server (. 20.8). Next
().
2 , 4
. , Access,
SQL Server , . , .
Table relationships ( ). , SQL Server , . . Use DRI
(DRI), DRI data relational integrity (
), , , . Use triggers () SQL
Server
.

Add timestamp fields to tables? (


?) ,
. , . . , -
, . . , , .

. 20.8. , Next,
, . , ,

Only create the table structure... (


...). SQL
Server, . ,
Access , .

9. , Access.
Create a new Access client/server application (
Access).
.

Create a new Access client/server application (


Access). , Access ,
Access. , . . adp.
, , ,
, , .
( Access , , , ,
SQL Server.)

Link SQL Server tables to existing application ( SQL Server


). Access
, ,
. , ,
"local" () (
, Products Products_iocal). ,
.
SQL
Server. ,
, , , ,
. ( .
" . Access no
" .)

No application changes ( ).
, Access .
: Access
SQL Server (
Access). , .

10. Next ().


Access ( ), Access
, . ,
.
11. Finish () , .
Access SQL Server .
(. 20.9).
Access , . Print Preview Close
Preview Close Print Preview (
) .

. 20.9. - ,

.
. , .
. .

. , ,
, .
. , .
, ,
SQL Server. , ,
.
Access ( ), . , SQL
Server :
(. 8) ;
;
, , . (
,
.);
, SQL-,
, .

.
Access
ss . Access, , SQL
Server. .

. ,
, . ,
, . ., Access.

. Access,
SQL Server . ,
. , .
Access ,
. ( , ,
.)

Access .

. Access. (
.) Access
adp.

19. , Access.

SQL Server Access? ,


Access,
19.


, . ,
, . , Access SQL Server .

( , , ). ,
, . , SQL Server,
, Access.
. " SQL Server"
. , SQL
Server.


Access , , .
accdb
, Windows.
SQL Server . ,
, . , ,
. , SQL Server
, . , ,
.
, , , SQL Server, . . . SQL Server Management Studio (. . 20.2),
. (, ,
, SQL
Server , .)
Access.
Office Server (Office ) ( Server
() , Access).
.
Connection (). Data Link Properties
( ),
Access.
SQL Server. , -
SQL Server ,
, . ,
.


Access ,
"Disconnected" (" "), Access
. ,
Office Server Connection (Office )
.

Server Properties ( ).
, , (SQL Server),
( SQL Server 2005 9), .
.
Link Tables ( ).
Access. ,
( ). ,
, Access.
Back Up SQL Database ( ).
SQL Server dat,
( ). SQL Server
,
, SQL Server Agent (
SQL Server).
Restore SQL Database ( Microsoft SQL Server
). dat, Office Server
Back Up SQL Database (Office ),
SQL Server.
Transfer Database... ( ...).
. ( SQL Server.)
Access ,
, .

, SQL Server , .
Copy Database File... ( ...). SQL
Server , ,
. ( SQL
Server , .)
Office Server Transfer Database... (Office
...), .
Drop SQL Database ( SQL Server). SQL
Server .
Set Logon Password ( ).
, SQL Server.

SQL Server
Access SQL Server
, . .
1. Office New (Office ) ( Access,
, Blank Database (
)).
Getting Started ( ).

2. ,
.
New Database ( ).
3. Save as type ( ) Microsoft Office Access Projects
(*.adp) ( Microsoft Office Access (*.adp)).
4. , (adp-),
File name ( ) (, ZooAnimals.adp)
.
Access Getting Started ( )
New Project ( ) .
5. Create (), .
Access
SQL Server.
6. No () .
.
(. . 20.6).
7. , ,
Finish ().
Access SQL Server ( adp- ).
Access .
8 ,
.

SQL Server
SQL Server Access Access,
. . , SQL Server , Access.


Access ( adp),
, , , ,
.
Create Tables Table Design (
). .
Design View ().
. Design View ().
, ,
, , Access. ,
. ,

. ( SQL Server , , .)
(. 20.10), .
Column Name ( ). (
Access).
.
Data Type ( ). ,
( Access). ,
SQL Server, ,
Access.

. 20.10. Design View SQL Server


Customers BoutiqueFudge

Length (). Field Size


( ) Access.
.
; , ,
.
Allow Nulls ( ).
Required ( ) Access. ,
SQL Server , , . .
.
Description ().
. .
.
, .

Table Tools | Design Tools Primary Key ( |
). , .
, . Access
.
Access, .

, , Access , .
, Access
SQL Server, ,
. .

SQL Server
, SQL Server Access
. .
, .
, Access SQL
Server, Access. ( , Access, , .) . 20.1 SQL Server, Access.

SQL Server ,
Access. ,
, , .

20.1. SQL Server Access


Access
SQL Server
(Text)

nvarchar ( 4000 ,
Access,
255 )

20.1 ()
Access

SQL Server

Memo (Memo)

ntext

(Number) ( smallint
(Field Size) (Integer))
(Number) ( int
(Field Size) (Long Integer))
(Number) ( real
(Field Size) (Single))
(Number) ( float
(Field Size) (Double))
(Number) ( decimal
(Field Size) (Decimal))
(Number) ( tinyint
(Field Size) (Byte))
(Number) ( uniqueidentifier
(Field Size) (ReplicationID))
/ (Date/Time)

datetime

(Currency)

money

(AutoNumber)

int ( Identity Yes


())

(Yes/No)

bit

(Hyperlink)

nvarchar

(Attachment)

nvarchar ( )


, , SQL Server .
, , SQL Server. .
1.

ID (), int.

2.

Columns (), ,
Identity Yes ().

Identity SQL Server.


.
3. Identity Seed ( IDENTITY)
Identity Increment ( IDENTITY).
Identity Seed ( IDENTITY) .
Access, 1.

o Identity Increment ( IDENTITY) , SQL Server . , Identity Increment


5, 1, 6, 11, 16 . . , SQL Server
, Access, .

SQL Server , Access. , ,


Lookup ()
(. 20.11) . , .

Display Control ( )
Combo Box ( ), ,
.

Row Source Type ( )


Tables/Views/Functions (//),
, . (
, Value List
( ).)

. 20.11. CreditCardID Orders

Row Source ( ) .
, SQL- SELECT,
ID ().
, SELECT ID, ProductName FROM Products
ORDER BY ProductName
, ID Products.

SELECT ,
, ,
.
Access, .

Bound Column ( ) , (
Row Source ( )) ,
. ,
SELECT ID ( ),
1.

Column Count ( ) ,
. 2 (
), ID
, .

Column Heads ( ) ,
.
No (). ,
,
, , ,
.

Column Width ( )
. .
, 0 ";1"
1 .

, .
, , .

, Access ,
.

5, ,
Access :
. Access
. .
.
1. .

, . (, Products
ProductCategories. ProductCategorylD ,
Products.)
2. Table Tools | Design Show/Hide Property Sheet ( | ).
Properties () (. 20.12), , Property Sheet ( ),
Access.

. 20.12. , OrderDetails ( )
Products ( ). OrderDetails ProductID

3.

Relationships ( ).

4.

New ()
.

5.

, Primary key table (


), .

6.

, ,
.

( , ,
, .)
7. , Foreign key table ( ),
.
, , , .
8. ,
, Check existing data on creation (
).

, . ,
.
9. Enforce relationships for INSERTS and UPDATES (
INSERT UPDATE),
.
. , ,
. , , , .
10. , .

0
, SQL Server.
SQL Server ,
( ) .
, Access ,
SQL Server. , , SQL Server
.

View ().
(select query) (, )
.

User-defined function ( ).
. ( ,
.

.)

Stored procedure ( ).
SQL Server. ,
, , .
,
Access.
SQL Server,
, .


Access, . , , ,
.
1. Create Other Query Wizard (
).
New Query ( ),
SQL Server .
, .
2. Design View ()
.
Add Table ( ).
3.

( , )
Add (), .
, Close ().

(query designer).
, Access . (. 20.13).

. 20.13. , ,
.
Products

4. , .
, ,
. ,
(. 20.14). Access,
. ( Access .)

. 20.14. ,
Output,

. , ,
, , .
5. , Sort Type ( )
Ascending ( ) Descending ( ).
, Sort Type ( ) , . ,
Sort Order ( ), , . ,
, , Sort Order (
) 1 LastName () 2 FirstName ().

,
, Output ().

6. , Criteria () .
,
, Access. (, +, -, /, * =, < > ).
,
SQL Server Access " , .
" .
. , , Or (), . 20.15.

. 20.15. 10 50

7. , ,
Column () Alias () (. 20.16).

. 20.16. , , (
Price dbo.OrderDetails.Price). , Price ,
OrderDetails, (dbo) ( SQL Server
, .
.)

SQL Server . ColumnName: Expression (:


)

Alias (), Column


().
, , , . . 20.16 , , Price*Quantity,
.
, , SQL Server Access.

, .

Access, SQL Server. SQL Server .
, SQL ( ),
Access, ,
SQL Server. .
, ,
.

(), .
, -
'Maple Magic', "Maple Magic".

, .
, '1/30/2008' , #1/30/2008#.

+, &. ,

FirstName + ' ' + LastName, FirstName &+ " " & LastName.

Access. SQL Server


, , Access, .
, , SQL Server Books Online (. . 20.2, ).
, ,
Access.

8. ,
Datasheet View ( ) (
Function & View Tools | Design Tools Run (
)).
Access . ,
,
Access. .

21

Access SharePoint

, . , , , , , ,
.
, 18, , Access
.
, ,
Access.
, SharePoint Microsoft, . , Windows Server 2003,
SharePoint, , . ( Microsoft Office SharePoint Server 2007 MOSS
SharePoint, Office.)

Windows Server 2003


1000 ( )
, .
(. 18) SQL Server (. 20).

SharePoint Access Web Internet Explorer.


SharePoint , ,
. SharePoint
. Access, . :
SharePoint . ,
Access, SharePoint.
, , ;
Access SharePoint.
, 20 SQL Server.
Access,
SharePoint. ,

, , Access,
Web- SharePoint.
SharePoint .

Access SharePoint
.
SQL Server, ,
20.

SharePoint
, , . SharePoint
, , Web- .
SharePoint . ,

Microsoft, , , . ,
SharePoint .
Web- SharePoint. .
, .

SharePoint , ,
-,
Web- (Internet hosting company).

SharePoint ,
. Web-
. ,
Internet Explorer ,
( , ). SharePoint , Internet Explorer
. ( .)
SharePoint ,
(. 21.1).

Microsoft SharePoint
, Access.

. 21.1. SharePoint - .

, ,
"Add..." () , .

.
, SharePoint
SharePoint?
SharePoint, Windows Server 2003, Windows SharePoint Services ( WSS ). ,
,
Windows SharePoint Services.
Microsoft Office SharePoint Portal Server (
SPS).
SharePoint Services.

,

Microsoft BizTalk,
.
Microsoft Office SharePoint Server 2007 ( MOSS). SharePoint Portal
Server. , .
,
Microsoft Content Management Server ( Microsoft ).
SharePoint Services,
, Access.

SharePoint
SharePoint .
, Web-.
SharePoint :
;
(team discussion board);
Office Document Library (
) (, Word
Excel). ,
;
, ;
;
Web-;
, (. 21.2). ,
, ,
, .
Access. ,
SharePoint Web-, ,
Access. , ,
, .
Access.
SharePoint Access. ,
, SharePoint .
. ,
.
, SharePoint
, , .
,
. , SharePoint

. 21.2. SharePoint, Dolls


Bobblehead

.
SharePoint
SharePoint, , SharePoint Services .
, , ,
.
, .

, SharePoint
Windows Server 2003. ( Windows
Server 2003 R2, 2), .

Windows Server 2003,


, SharePoint
Services. Web-
www.microsoft.com/windowsserver2003/technologies/sharepoint
.

, SharePoint Services .
SharePoint, Configure Your Server
( ) (role) SharePoint Services. , IIS
(Internet Information Server, ) (
, Web-) ASP.NET (Active Server
pages, ) ( , Web-, , SharePoint).
, SQL Server,
Configure Your Server , SharePoint.
(
), -,
SharePoint . , Web SharePoint, SharePoint . .
, 30- , SharePoint, ; . www.microsoft.com/technet/windowsserver/sharepoint/
V2/techinfo/trial.mspx.

SharePoint
, , SharePoint, . SharePoint
(home site). , ,
. (
.)

Internet Explorer
SharePoint.


.
1. SharePoint.
, SharePoint URL .
SharePoint Web-, ,
, URL-.
2. Site Actions ( ) (. 21.3)
Site Settings ( ).
, .

. 21.3. Site Actions SharePoint.


( Web-)

3. Site Administration ( )
Sites and workspaces ( ).
SharePoint. (
, , Word Excel.
, , , ,
.)
.
, SharePoint .
4. Create () .
, (. 21.4).
5. .
o Title and Description ( ) .
o

Web Site Address ( Web-) URL,


. :
URL ( ) , .

o Permissions () ( , SharePoint ,
). Use unique permissions (
), (
). ,
.
o Navigation () ,
.
o Template ( )
. Team Site ( ) .
, .

. 21.4. Office Temps

6. Create ().
Operation in Progress
( ).
Use unique permissions (
) 5, SharePoint , , .
7. , (. 21.5).
SharePoint :
o

Visitors () , , ;

Members () ; , .

Owners () ; , .


. Windows,
. ,
, . . , SharePoint. , SharePoint ,
, .

. 21.5. , Use an existing group


. Create a new group
, . Office Temps Members

. , ,
. ,
, . ,
jpantalone Sales,
SharePoint, Sales\jpantalone.

, .
. !
SharePoint , (. 21.6).

. 21.6. Navigation
- SharePoint

Windows , SharePoint.
Create () .
SharePoint
,
.


SharePoint . ,
, Microsoft
Web- (Web Parts). ,
Web-, .
,
Site Actions Edit Page (
). ,
. 21.7.

, .
SharePoint .

. 21.7.
Web-. Web-

. .

Web-.
(, "Announcements" ())
.

Web-. Web- ,
Web-, .
, , Web-,
Web-
, .

Web-. Web-,
? Web-.
Web- .

Web-. Web-
, Web-, ,
. . Web- edit ()
Web-

Modify Shared Web Part ( Web-)


(" " , Web-,
.) . 21.8 .
Web-. SharePoint Web-,
. 21.9. (, ,
Web-.) Web- Add
Web Part ( Web-) , .

. 21.8. Web- , . Web-


. Web- Site Image

SharePoint Access
, SharePoint ,
, . SharePoint ,
,
. SharePoint,
, , , , .

. 21.9. Web- , Left. Web-,


, Web- Site Users
( ), User Tasks (
, ) Team Discussion (
)

.
SharePoint,
SharePoint,
Access, .

SharePoint .
, SharePoint.

. Web- Calendar ()
Add new event ( ).
, , .
.

. Alerts ()
, - SharePoint
( , , - ).
, .
Calendar () , ,
Actions Alert Me ( ).
, ,
, SharePoint .

.
, .
SharePoint .
Shared Documents ( )
, , ,
.

. , ,
. SharePoint
Tasks ()
.
(, ,
, ,
).

.
?
SharePoint Contacts (),
. ,
Contacts () .

, Lists ()
, . Lists ()
(. 21.10).


Web- SharePoint , Access. .
1. Site Actions Create ( ).
.

. 21.10. ,

2. Custom Lists ( )
Custom List ( ).
.
3. .
, , CafeteriaMenuIdeas (
), ,
. DodgeballTeamAssignment ( ), , .
4. , .
,
. , ,
( Lists ()).
5. Create ().
SharePoint , (. 21.11)
.

. 21.11.
( )

6. .
: () (
SharePoint ), Attachments () ( , ) Title () ( ). , Title () (, 7).

SharePoint ,
Access . ,
ID () ,
, .

Settings Create Column


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

. 21.12. SharePoint Access (


, Access). ,
,

SharePoint , Access.
, , ,
, SharePoint .

7. , Settings List Settings ( ).


(. 21.13), .

.
SharePoint = Access
SharePoint . ,
.

, . SharePoint ,
Access, 6.
,
Settings List Settings ( ).
, . , .
Add to default view (
).
. ,
( ).

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

.
General settings ( ) , 3 4.
Advanced settings ( ) ,
.
, (
),
(
).
Delete this list ( ) .
Permissions for this list ()
, ,
.
(. . , ),
(contribute permission) (. .
, ),
(. .
).
8. , .
New New Item (
). SharePoint ,
(. 21.14).
.

SharePoint ( ), ,
, .
, ,
Actions Refresh Data ( ).

SharePoint .
, ,
, , .
( , Access.)

.
Access

Access,
Access (Access Web Datasheet),
Web-, SharePoint.
Access, SharePoint, ,
Office 2007.

Access Access,
Web-. ,
, , , .
( ).
SharePoint, , Access, Access
.

. 21.14. CafeteriaMenuldeas

SharePoint
SharePoint. Access SharePoint. Access SharePoint.
(, ) , Access .
Access , - ,
, .
SharePoint ,
, 19. .
1.

Access.

2.

, .

, Access . ,
Products, ProductCategories.

. 21.15. Access Customers


SharePoint

3. External Data Export SharePoint List (


SharePoint).
SharePoint Export wizard ( SharePoint) (. 21.15).
4. URL- SharePoint , ( )
.
.
5. SharePoint, ,
Open the list when finished (
)
, ,
, .
6. .
SharePoint , . Access SharePoint .
Access .
Open the list when finished ( ), 5, , Access
Web- (. 21.16).

. 21.16. Access Customers SharePoint.


Access ,
Access, Access

, Access .
, (,
).

SharePoint, .
, SharePoint . ,
, ,
. , ,
SharePoint Access
.
.

Access
Access.
, 19.

. , , URL SharePoint. SharePoint


.

,
Access. Web- SharePoint - ,
Access, .

.
1.

, .

2.

Actions Open with Microsoft Access


( Microsoft Access).

,
(. 21.17).

. 21.17. CafeteriaMenuldeas SharePoint.


Access

3. , .
, Access . ( .) , Access .
4. .
SharePoint.
Access . .
(
SharePoint ), .
.
,
SharePoint.

5. , .
Access 3 .
, SharePoint.
(. 21.18).

. 21.18. CafeteriaMenuldeas Access.


"Online with SharePoint" ( SharePoint)
,

( 1) SharePoint
User Information List ( ), . SharePoint, , . .
SharePoint (Created By ( ) Modified By
( )), ,
. , Access
( , ,
Home Records More Unhide Columns
( )).
,
(. 21.18) Publish to SharePoint Site (

SharePoint). Access (Document Library) SharePoint,


.

SharePoint Access.
, , Web- SharePoint,
.
,
, Access, Publish to
SharePoint Site ( SharePoint).
, .

SharePoint
? Access SharePoint. .
, , , , (
, Access), SharePoint.
, 20,
Access SQL Server. SQL Server
Move to SharePoint Site Wizard (
SharePoint), :
( ,
-SharePoint );
SharePoint ;
,
SharePoint. " " SharePoint;

SharePoint. Access, , ,
, , .
.
1.

Access , .

2.

External Data SharePoint Lists Move to SharePoint


( SharePoint Web- SharePoint).

Move to SharePoint Site Wizard ( SharePoint)


(. 21.19).
3. URL- SharePoint .
4. Access
, Save a copy of my database to the SharePoint site and
create shortcuts to my Access forms and reports (
SharePoint Access).
. ,

. , SharePoint, , ,
Access Web- SharePoint.
(
Access), 5.

. 21.19. SharePoint

5. Browse ()
.
,
Shared Documents ( ).
, Next () .
6. Next ().
SharePoint , .
Access , - . ,
.
Access , .

7. Access Show Details ( ) (. 21.20).


- ,
Access , Move to SharePoint Site Issues ( SharePoint).
.

SharePoint . ,
,
Move to SharePoint Site Issues.

. 21.20. Access ,
Shared Documents. Access Move
to SharePoint Site Issues. SharePoint

8. Finish ().
, . ,
SharePoint. (
,
Access.)

.
SharePoint
Access SharePoint. SharePoint List Options (
SharePoint). , ,
, . Access Web SharePoint.

SharePoint Access
(, ), Access
SharePoint. , , . SharePoint. (
Web- Access SharePoint List Options Modify Columns and Settings (
SharePoint SharePoint).)


Home Records -+ Refresh All ( ).

, , - .
, . ( .) , - ,
. 21.21 , , .

. 21.21. , - , .
Save Record
( ) Drop Changes .
Copy to Clipboard,
Windows .


Copy to Clipboard ( ), Access
- . ,
(, )
.



SharePoint. ,

.
? , SharePoint , SharePoint . , , .
External Data SharePoint
Lists Work Offline ( SharePoint ).
,
.

. 21.22. .
ID , Access
, SharePoint
. () ,

,
(. 21.22). ,
,
SharePoint.
SharePoint .
External Data Lists Synchronize (
SharePoint )
. ,
.
External Data SharePoint Lists Work Online (
SharePoint )
.
External Data SharePoint Lists Discard Changes (
SharePoint ) .
' : Discard All Changes
( ) , , ,
Discard All Changes and Refresh (
) , ,
SharePoint. .

. 21.23. Access , -.
: Discard My Changes Retry My
Changes ,

SharePoint, Access
.
, , . , . . Access ,

.
Access , (. . 21.21). ,
. , . 21.23 ,
Rationale ()
, "s" "Chocolates."
.

,
,
. Access
(. . 21.23),
. , .

Access
, . Access ,
, ,
.
Access 2007 .
, . Access ,
(Quick Access toolbar).
, . , ( ,
),
. . , ,
.

.
,
. RibbonX
XML- , #.
,

Web-
http://msdn2.microsoft.com/enus/library/ms406046.aspx.


(Quick Access toolbar), Access
QAT. . , , .
Access,

. Access
, .
,
. .1.

. .1. ,
, Access ,
. , ,
(, ) -
, .
, ...

, Access
.
(Show Below the Ribbon)
.

.
, .
,
.
, . Access
, ,
. Access.
Access, ,
. (
,
.)
,
, Access " " (KeyTips)
(. . " " ).
<Alt>, Access ,

( 1 ).
. , , . .1, <lt>+<1>
, <Alt>+<2> (Undo) . .

, -, ,
: ,
(Add to Quick Access Toolbar).


.
1.
...

. .2. Access .
, . ,

Access, (Customize) (. .2).


2. (Choose commands from).
, , .
, , Access . Access
. .
(Popular Commands)
, Access. , , .
(Commands Not in the Ribbon) , Microsoft
. ,
, , , , Access .
(All Commands) .
, .
(Macros)
. :
, , . Access,
. .
.
, Office
. , (Create),
, .
3. , ,
, (Add).

(. .3).
4. ( 2)
.
. , .
.


, (Reset).

5. , Access
.

. .. Excel ,

. , , (Remove from Quick Access Toolbar).

... (Modify),
. ,
.


, ,
? , , . ,
, , .
Access , .
. ,

, .
( ), .

, .
, .
.
, .

, . , ,
... (More Commands). - ,

(Customize Quick Access Toolbar), ,
. (
) (For all documents (default))
(, C:\MyFiles\SecretSanta.accdb).
. .
Access , ( , )
, . . .4 .

. .4. ()
( )

.
, ,
, . , ,
, .
.

Action query 272


Alias 249

MsgBox 535

Character Map 130


Custom 468

N
Navigation pane 41

Outer join 235

DAO 591, 610

F
Filter by selection 117

P
PDF- 666
Primary key 96
Private 547
Public 547

GUID 95

Quick filter 116


Quick search 120

Inner join 234

J
Join query 297

Key Tips 23

S
Select query 208
Snapshot Viewer 339
SQL Server 645
Structured Query Language (SQL) 224


Totals query 263

U
UNC 629
Union query 226

125,128
581
501
490
241

w
Web- SharePoint 725
Windows- 652

X
XML- 676
XML- 658

48
Web- 733
:
370
369
370
369
369
115,118

357
372,446
92

():
641
540
46
49
48
:

625
618
488
616
:
43
313
616
311
44
311
28,50
729
43
516
45
257,374,377
746
284
If 569
375
636
444
529

649
, 147
Windows 650
130
395
472

508
:
632
624, 638

350,361
33
42
141
25,199, 716
255,284

423
350
351
361
539
586
588
34, 56, 359
54
672

259
200, 716
272
264, 271
266
216, 218
273
277

8
53
342
357
34,94

262
259,284
289
279
129

353,405,438
362
363
363
354
495
. 503
505
527
527
518, 533
505
511, 526
497

159
648
132,211
134
Access 630

734
172
12
<b> 441
616
453
57
395
84

511, 526
503, 504
533
512
511
511
530
513,514
513
502
498, 531

26, 480, 485, 488, 493, 590


Auto Exec 520
Auto Keys 518
498, 524
516
520
500

513
512
520
511
517
66
66, 136, 445
137
141
:
Move to SharePoint Site Wizard 745
212
625
524
361

SQL Server 700
619
:
364
289
418 549, 553
Move 554
OpenForm 588
Refresh 553
Requery 553
DAO:
CurrentDb.Execute 606
CurrentDb.OpenRecordset 606
Recordset.MoveNext 606
418
26, 536, 573
542

508, 509,
540 507
639

:
350, 368
31, 52, 460
470
545
221
227
226, 228
231
548
DAO, Recordset 606
DoCmd 588
468
585
605 :
Immediate 537
Project 536
Properties 537
398
343, 368, 415, 426
:
241
241
:
Like 149
547
547
"" 549
734
:
124,363
123
580
500
158
-- 182
-- 181
-- 163
163
26, 317,488, 665
336
/ 323
322

349
330
319 327
326
359
348
346 336
341
340
332

:
753
505
556
262
86, 131, 711
54 556,
566 634
282 357, 358, 360
450 152,162,
185, 713
156
153
, 110
33, 357, 360
233
59
61
36
185
458
61
234
458
59
482
124
61

441
242
144
716, 737
738
Access 739
436, 439
351, 361
113 :
Excel 648, 664
Word 648
:
Access 706
acwzrtool 536
129
539,545, 546, 555
357, 358
237
129

727
437
624
Visual Basic 536 :
697
47
39
36, 39
698
464
34, 56, 57
85
357

310
284,296
, 303
300
301

:
298
298
298
298
298

306
297
306
549
BackColor 549
DAO, Recordset.EOF 606
Value 549
549
622
507
640
547
84 -
75 481, 520,
549, 555
542
539
375,400, 465
102
, 45
480
SharePoint 724, 732
390,421
515
449
363
, 100
631
463

25, 33 57
57 657, 743
183 479
54

120
411
56, 61
80, 397
79
/ 74
73
78
83, 393
64
70
580
692

54
:
SharePoint 724
726
726
383
528
144, 145, 209, 396, 445
208, 404, 485
267

:
:
accdb 29, 32
accde 628
laccdb 47
mdb 32
mde 628
661
333
:
106
107, 401
401 396,
401 109, 401
404
367, 396, 400
106

26, 305, 387


392
417
399
418
418
396
471, 630
562
411
457,477,483
395
630
388,417
413,418
394
418
418
400
477
476
418
399
400, 404
392
344
68
148, 240, 529,573, 592
Abs() 242
Date() 148
DatePart() 251
Format() 246
Instr() 250
IsNull() 529
Len()249
MsgBox() 533
Now() 148
Nz() 254
RGB() 559
Rnd()248
Round()241
Shell 587
242
247
716
/ 251
248

X
716

170
:
734
507
572
Do/Loop 572
For/Next 573
507, 508

28, 728

48
647
352, 357,370,406,
428, 439,520, 548, 550
447
398
424
432
433
434
436
426,444
431
434
562
368

:
Visual Basic 540
XML 668
(SQL)
216