Professional Documents
Culture Documents
124 1
.1 AddMenu
AddMenu:
) : .
(. ) : Access
(. ) :
Access .
.(.
.
) : .
(.SHIFT+F10 ) :
.
(. .
.
) :
.(.
Microsoft Access
.
) :
:
"" " " .(.
"" ) "" : .
"" .
(. " " ) " " :
" " .
" " (." ) :
(.
.
AddMenu ) Access
2 124
: AddMenu .
( Menu Name
) .
( "" :
). .
.
.
" ( " :
. ).
. .
( :
( Status Bar Text
) .
)
.
.
3 124
) : AddMenu
(. AddMenu
.
AddMenu .
.
.
.
Access :
_ .
__
.
AddMenu.
. Access
RunCommand .
RunMacro .
AddMenu
_ __
. AddMenu.
4 124
.
.
) (- .
)&(
. .
) :
(. AddMenu
" " . AddMenu Access
" " "
" AddMenu .
" " .AddMenu
) AddMenu
( .
AddMenu .
.
.
.
.
5 124
ApplyFilter .2
ApplyFilter ) :
. Access
" " " " (. ) :
.
(.access ) SQL WHERE
:WHERE SQL (. ) :
)( )( .
(. ) : Access
(. ) : Access
.
(.
. ) :
(. .
SQL WHERE .
.
: ApplyFilter .
Filter Name .
(
)
" ( " "" :
). .
( :
.
) .
.
6 124
Where
.
( :
. " "
:30,000 ) > 30000.
.
.
:
! !
" "
. " "Where .
Access Microsoft WHERE .
.
: "" )
"" : . ""
. (. "
" ) " " :
" " . " "
.(.
7 124
/
.
ApplyFilter .
) Access : .
(.
/
ApplyFilter " / " ) / :
(. .
Access
ShowAllRecords / .
) Access :Microsoft Access Access Microsoft SQL Server
/ .
(.adp)(. " )
:
.
"(.
____ ).(0
Access
)
( .
ApplyFilter ApplyFilter DoCmd
OnOpen . OpenForm OpenReport
.
OpenTable .ApplyFilter
: :
" Customer Phone List " .
ApplyFilter ShowAllRecords .GoToControl
.
8 124
... ...
: GoToControl ][RecordsetClone].[RecordCount
>0
CompanyNam
) ( e
CompanyNam
e.
9 124
Beep .3
Beep .
: Beep .
: Beep : .
) :
.
.(.
) :
access .
.(.
) : (.
.
CancelEvent .4
CancelEvent ) :
.
Visual Basic (. Microsoft Access
) : (.
. BeforeUpdate OnOpen OnUnload
.OnPrint
: CancelEvent .
: ) : Access
(. CancelEvent
10 124
MsgBox
.
.CancelEvent
CancelEvent MouseDown
.
OnDblClick CancelEvent
.DblClick
) Access
( . .
) :
access . (.
Access . DblClick
11 124
OnUnload CancelEvent
. CancelEvent
.CancelEvent ) :
.
(. .
: :
" Suppliers" . StopMacro MsgBox
CancelEvent .GoToControl /
. /
" " .
_ ".
)]StopMacro IsNull([Country/Region
Country/Region
"/ " Null
""
.
: ]MsgBox [Country/Region In
)"("France","Italy","Spain
5 And Len([Postal Code]) <> 5
5 . .
. CancelEvent ...
GoToControl
12 124
: ]MsgBox [Country/Region In
("Australia","Singapore") And
4
Len([Postal Code]) <> 4
4 . .
. CancelEvent ...
GoToControl
:
PostalCode
) (
:
)"MsgBox ([Country/Region] = "Canada
And ([Postal ]Code Not
Like"[A-Z][0-9][A-Z] [0-9][A-
.
) . )"]Z][0-9
: H1J): H1J 1C3
1C3
. CancelEvent ...
13 124
Close .5
Close Microsoft Access
.
: Close .
Object ( :
( Type
Access.
)
Access
) . .
Access " "
(
"" : ). .
.
Object .
( Name
. .
)
.
)( Save . ( ) (
( ( .
: Close .
14 124
CopyObject .6
CopyObject ) :
.Access Access
(. ) Microsoft Access :
.
(.mdb) (. ) Access
:Microsoft Access Access Microsoft SQL Server
/ .
(.adp) (. .
.
: CopyObject .
Destination Database .
) (
(
"" : ). .
.
(.mdb) Access .
(.adp) Access
.
( :
) . CopyObject
15 124
) ( New Name .
.
CopyObject
Access
.
: .
Access
" " . " " SelectObject
" " .
16 124
.CopyObject
Access .
CopyDatabaseFile .7
CopyDatabaseFile SQL Server 7.0 Microsoft
) Microsoft Access :Microsoft Access Access
Microsoft SQL Server / .
.(. Access
.
.SQL
: CopyDatabaseFile :
17 124
: .
CopyDatabaseFile
.
:
.
) " " :
Access .Access
.(.
SQL .
sysadmin SQL .
18 124
DeleteObject .8
DeleteObject ) :
.Access Access
(..
: DeleteObject .
( Object Type .
) access " "
( "" :
). . " ( " "
" : Access Access.
) . .
( Object Name .
) " " .
.
DeleteObject
( :
.
) . Microsoft Access
.
Access
" " .DeleteObject
: DeleteObject
. OpenQuery )
: ) (SQL )(
19 124
Echo .9
Echo ) : Access
.(.
) : (. .
: Echo .
Echo ( ( ( ( On
) (
( "" :
). . .
Status ( : Bar
( Text
)
) . .
"
".
: Microsoft Access
. " " .
Microsoft Access ) : .
Repaint (. .
" " .
20 124
Echo .
.
Hourglass
) "" Microsoft Windows 2000
Microsoft Windows Millennium Windows 98 Microsoft "" Microsoft
(Windows NT .
: Echo
.
. : Close
"". : OpenForm
21 124
: SupplierID
Echo :
.
MsgBox : IsNull([Supplier
)]ID
" Review Products ""
. " .
GoToControl : CompanyName
CompanyName.
22 124
"
: Product List
OpenForm
"
:
.
= ]Where: [Supplier ID
][Forms]![Suppliers]![SupplierID
.10 FindNext
FindNext ) :
. ( .
) : .
" " :30,000 < (.30000
FindRecord
. FindNext .
.
: FindNext . FindNext
FindRecord .
FindRecord .
23 124
: .
FindRecord ) :
)( )( .
(. ) :
.
(.access ) : Access
(.
) : Microsoft Visual Basic
.Visual Basic
.(. FindRecord FindNext
.
FindNext
. .
.
) : Visual
Basic . (.
FindNext .
) :
.SetFocus .
24 124
FindRecord
Find First .
.11 FindRecord
FindRecord ) :
.
" " :30,000 < (.30000
.FindRecord ) :
. ( .
. ) :
"--" (.
.
: FindRecord .
) ( Find What .
( :
.
) . )=(
( " " :
). . .
.
25 124
( Match Case ( :
) .
). . (
( (
( . .
)( Search ( )
( )
( ).
.
.
1,234 " "
1,234 .
1234 .
-09 .2001- " "
Windows.
" " .
M/d/yy 01/9/3 Access
"" 2001 9
.
26 124
) ( Find First .
( ( ( ( . .
: ) : (.
FindRecord Access )
""( . Access .
FindRecord
.
FindRecord ""
.
Access FindRecord
FindRecord . Access
FindRecord .
FindRecord
RunCommand .
27 124
FindRecord
. .
.
) : Visual
Basic . (.
FindRecord .
) :
.SetFocus
. (.
. FindRecord .
AutoKeys
.FindRecord
.FindNext
.12 GoToControl
GoToControl ) :
.SetFocus .
(. ) :
. .
Microsoft SQL Server (. ) :
28 124
.access
: GoToControl .
Control .
( Name
( "" :
)
). . .
" "
Forms!Products![Product ID].
: GoToControl .
GoToControl ) :
(. . GoToRecord
. ) :
(. GoToControl
.
29 124
: Echo
.
. : Close
"". : OpenForm
: SupplierID
" Suppliers".
StopMacro MsgBox CancelEvent .GoToControl
/ .
/
" " . _
".
30 124
StopMacro )]IsNull([Country/Region
Country/Region
"/ " Null
""
.
: ]MsgBox [Country/Region In
)"("France","Italy","Spain
5 And Len([Postal Code]) <> 5
5 . .
. CancelEvent ...
GoToControl
:
: ]MsgBox [Country/Region In
("Australia","Singapore") And
4 Len([Postal Code]) <> 4
4 . .
. CancelEvent ...
GoToControl
:
31 124
:
)"MsgBox ([Country/Region] = "Canada
And ([Postal ]Code Not
Like"[A-Z][0-9][A-Z] [0-9][A-
) .
. )"]Z][0-9
: H1J): H1J 1C3
1C3
. CancelEvent ...
.13 GoToPage
GoToPage ) :
.SetFocus .
(. ) :
Access (.
) :
.
(. .
. ""
. GoToPage
.
) :
.
.(.
32 124
( Page Number .
) ( "" :
). .
. "" ""
.
)( Right
.
"".
)( Down
.
"".
: )
) :
TAB (.SHIFT+TAB( . GoToControl
.
GoToPage -1 : -2 .
.
33 124
.14 GoToRecord
GoToRecord ) :
. ( . )
: .
.
" " (. ) :
(. .
: GoToRecord .
Object ( :
( Type
Access.
)
Access
) . .
" "
( "" :
). . .
Object .
( Name " " .
) " " .
Record .
)(
. .
Offset ( :
)(
.
) . .
)=( . .
"" .
34 124
: ) :
.SetFocus .
(.
.
""
.
.
"" .
" " ) : .
" " "" .
(. .
GoToRecord
" " " ".
.15 Hourglass
35 124
: Hourglass .
( Hourglass On ( ) ( (
) " ( " "":
). .
.
: ) : Access
(. .Echo
Microsoft Access .
: Microsoft Windows NT
.Windows Microsoft Windows 2000 Microsoft
Windows Millennium Microsoft Windows 98
.Windows
Windows .
.16 Maximize
Maximize .Microsoft Access
) :
36 124
: Maximize .
:
.
Restore .
: SelectObject .
Access .
) : .
.(.
.
.17 Maximize
Maximize .Microsoft Access
) :
.Access Access
(. .
: Maximize .
37 124
Restore .
: SelectObject .
Access .
) : .
.(.
.
.18 MoveSize
MoveSize .
: MoveSize .
Right
)(
. ( " ":
)..
Down
)( .
Width .
)(
Height .
)(
Microsoft Access .
38 124
.Windows
: .
.
MoveSize .
.
: Echo
.
: MsgBox IsNull([Supplier
)]ID
" Review Products ""
. " .
39 124
GoToControl : CompanyName
CompanyName.
. StopMacro ...
"
: Product List
OpenForm
"
:
.
= ]Where: [Supplier ID
][Forms]![Suppliers]![SupplierID
.19 MsgBox
.
MsgBox .
MsgBox ) :
(. ) :
.(. ) :
.
40 124
: MsgBox .
Message .
)(
( "" :
). . 255 ( :
.
) (. ).
Beep . (
) (
( ( ( . .
Type . . ! .
)(
.
Title ( :
)(
) . .
" ".
"Microsoft Access".
: AsgBox
.Access MsgBox .
"@".
.
. .
.
41 124
: Echo
.
: MsgBox IsNull([Supplier
)]ID
" Review Products ""
. " .
GoToControl : CompanyName
CompanyName.
. StopMacro ...
"
: Product List
OpenForm
"
:
.
42 124
= ]Where: [Supplier ID
][Forms]![Suppliers]![SupplierID
" Suppliers".
StopMacro MsgBox CancelEvent .GoToControl
/ .
/
" " . _
".
)]StopMacro IsNull([Country/Region
Country/Region
"/ " Null
""
.
: ]MsgBox [Country/Region In
)"("France","Italy","Spain
5
And Len([Postal Code]) <> 5
5 . .
43 124
. CancelEvent ...
GoToControl
:
: ]MsgBox [Country/Region In
("Australia","Singapore") And
4
Len([Postal Code]) <> 4
4 . .
. CancelEvent ...
GoToControl
:
PostalCode
) (
:
)"MsgBox ([Country/Region] = "Canada
And ([Postal ]Code Not
Like"[A-Z][0-9][A-Z] [0-9][A-
) .
. )"]Z][0-9
: H1J): H1J 1C3
1C3
44 124
.20 OpenDataAccessPage
OpenDataAccessPage ) access :access
Access .
.
(.Excel "" ) "" :
.access ""
5 Explorer ( . "" ) "" :
:
.access ""
.(.
: OpenDataAccessPage .
OpenDataAccessPage
( :
.
) .
Microsoft Access
.
( View Access.
) . .
45 124
.21 OpenDataAccessPage
OpenDataAccessPage ) access :access
Access .
.
(.Excel "" ) "" :
.access ""
5 Explorer ( . "" ) "" :
:
.access ""
.(.
: OpenDataAccessPage .
46 124
( View Access.
) . .
:
Access " " ) " " :
Access .Access
.(.
.22 OpenForm
OpenForm ) : Access
(. "" )
"" : . ""
. (.
"" ) "" : :
.access ""
(. ) :
(. " " ) " " :
47 124
: OpenForm :
Form Name .
) (
"( "" " :
) . . .
OpenForm (
:
.
) . Microsoft Access
.
( View .
) PivotTable PivotChart .
.
" "
__ ___ .
___
OpenForm
"".
Filter Name ( :
(
. Access
)
" " " ) ".
. ( :
.
) access.
.
__ .
48 124
.
.
Where 255 .
SQL WHERE OpenForm
DoCmd Microsoft Visual Basic . SQL
WHERE 32.768 Visual Basic.
Data Mode .
) (
"" " " . (
( (
( (
( . .
" " _
_ _ _ .
_ OpenForm
" ".
Access
_ _ _
_ .
49 124
:
" " ) " " :
Access .Access
.(.
) :
. ) (.
( )
( . ) : .
) (.
Access( . .
" " .
" " .
.
" " ) :
(. . OpenForm
"".
WHERE .
50 124
: Echo
.
. : Close
"". : OpenForm
: SupplierID
51 124
: Echo
.
: MsgBox IsNull([Supplier
([ID
" Review Products ""
. " .
GoToControl : CompanyName
CompanyName.
. StopMacro ...
"
: Product List
OpenForm
"
:
.
= ]Where: [Supplier ID
][Forms]![Suppliers]![SupplierID
52 124
.23 OpenFunction
) Microsoft Access :Microsoft Access Access
Microsoft SQL Server / .
(. OpenFunction
) :
. : ) ( )
( ) ( (. " " ) " ":
" ".
" " (. "" )
"" : :
.access ""
(. " ) SQL
( ) :
.(. " ".
) :
. ( .
.
: OpenFunction :
Function .
( Name
( "" :
)
) .
. .
Function (
: .
) . Access
.
53 124
Data Mode .
) ( " " . (
( (
(
( ( . .
:
"" " " ) " " :
Access .Access
.(.
"" "
" . "
".
: " " )
:
(. . OpenFunction
" ".
)
( SetWarning
.
.24 OpenModule
54 124
: OpenModule .
( Module Name .
) ( :
Sub Function
) .
.
OpenModule
( :
.
) . Microsoft Access
.
Procedure . Name
) (
( Declrations:
.
)..
: " "
" " . Click PrintInvoice ""
55 124
) :
. .
(. .
) : Sub Function
Private . Declare
(. .
" " ) :
(. . OpenModule
.
.25 OpenQuery
OpenQuery ) :
(.
) :
(.
" " ) " " :
" " . " "
(. "" ) "" :
: .access
"" (.
56 124
: OpenQuery .
Query .
( Name
" ( " "" :
)
) . . .
OpenQuery
( :
.
) . Access
.
( View .
) PivotTable PivotChart .
.
Data Mode .
(
" " . ( ( :
)
.
) . ( (
( (
( . .
57 124
OpenQuery
" " ) " " : Access
.Access (.
. .
: " " ) :
(. . OpenQuery
" " . "" "
" . " " .
)
( SetWarning .
.26 OpenReport
OpenReport "" ) "" :
:
.access ""
(. ) : (.
58 124
: OpenReport
Report Name .
) (
" ( " "" :
) . . .
OpenReport
( :
.
) .
Microsoft Access
.
( View . ( (
) . .
Filter Name ( :
(
. Access
)
" " " ) ".
. ( :
.
) access.
.
__ .
59 124
.
.
Where 255 .
SQL WHERE OpenReport
DoCmd Microsoft Visual Basic . SQL
WHERE 32.768 Visual Basic.
: " "
. OpenReport
PrintOut .
PrintOut .
WHERE _ .
OpenReport
: CLAUSE
.
.Where
" " ) :
.(. OpenReprot "
".
60 124
.27 OpenStoredProcedure
) Microsoft Access :Microsoft Access Access
Microsoft SQL Server / .
(.
OpenStoredProcedure ) : SQL
control-of-flow .
SQL (. " " )
" " :
" " . " " (.
"" ) "" : :
.access ""
(. )
: .(.
" " . ):
.
( . .
: OpenStoredProcedure :
Procedure .
( Name
" ( " "" :
)
) . .
.
OpenStoredProcedure
( :
.
) .
Microsoft Access
.
61 124
Data Mode .
) ( " " . (
( (
( (
( . .
:
" " ) " " :
Access .Access
.(.
: " " ) :
(. . OpenStoredProcedure
" ".
)
( SetWarning .
.28 OpenTable
OpenTable " " ) "
" : "
" . " " (.
62 124
: OpenTable .
Table .
( Name
" ( " "" :
)
) . . .
OpenTable (
: .
) . Microsoft Access
.
View .
(
PivotTable PivotChart .
)
.
Data . "
Mode
" ( ( :
(
. ) .
)
( (
( (
( . .
:
" " ) " " :
Access .Access
.(. " " ) :
(. . OpenTable
63 124
.29 OpenView
) Microsoft Access :Microsoft Access Access
Microsoft SQL Server / .
(. OpenView
" " ) " " :
" " . "
" (. "" ) "" :
:
.access ""
(. ) : .(.
" " .
) : .
( . .
: OpenView .
View Name .
(
" ( " "" :
)
) . .
.
OpenView (
: .
64 124
( View .
) PivotTable PivotChart .
.
Data Mode .
(
" " . (
)
( (
( ( ( .
.
:
" " ) " " :
Access .Access
.(.
: " " ) :
(. . OpenView
" ".
)
( SetWarning .
.30 OutputTo
65 124
: OutputTo :
Object Type . (
) (
( ( ( ( (
Access " "
" ( " "" :
). . ( :
). .
" " .
. .
Object Name .
) (
" ".
OutputTo
( :
.
) . Access
.
66 124
Output File .
) (
(asp, .htm. html., .htx, .xls, .txt, .rtf., ) xml.
" " .
Access
.htx .idc .asp .
access Access .html .
" " Access .
Encoding HTML.
)(
MS-DOS Unicode ) Unicode (UTF-8 .MS-
DOS . Access
Windows
67 124
: Access .
Access rich-text
.Microsoft Word
Access :
OutputTo
" " ) " "(:
. ) :
. .
Microsoft SQL Server (.
Access ) OLE :OLE OLE
. OLE OLE "" Windows
Microsoft Excel .(.
.
68 124
) : .
(.
) " " : Access
.
) : 2,048( .
(#subaddress#address#displaytext : ) :
HTML World
Wide Web HTML .
Gopher Telnet (.FTP ) MS-DOS
(.
"" ) "" :
. "" .
(. "
" ) " " :
" " . " "
(..
) (.xls ) .rtf .txt (.html .
. .
Excel
Sum .
69 124
) : (. .
) : (. .asp
) (.
.
.
OutputTo
. .
" " .
.OutputTo
.
.OutputTo
Office MS Excel
MS Word Excel .Word
.31 PrintOut
70 124
: PrintOut .
( Print Range . ( (
) ( ( (
" " " "(
"( "
"" : ). .
.
( Page From . .
) .
) ( Page To . .
.
( Print Quality . .
) .
.
) ( Copies . 1 .
( Collate Copies ( ( ( ( .
) .
71 124
: .
.
) :
(. PrintOut
.
. FindRecord
.
.32 Quit
Quit .Microsoft Access Quit
) :
.Access
Access (.
.Access
: Quit .
)( Options Access.
( (
( ( (
(
"( "" " :
). . .
: Access Quit ) :
.(.
72 124
.
""
.Quit
Save Access .
.33 Rename
Rename ) :
.Access Access
(..
: Rename .
( New Name .
) " ( " "" :
). . .
( Object Type .
) Access " "
. "
( " " " : Access
Access.
) . .
73 124
Rename
( :
.
) . Microsoft Access
.
: .Access
. Rename " "
.
CopyObject .
.34 Rename
Rename ) :
.Access Access
(..
74 124
( New Name .
) " ( " "" :
). . .
( Object Type .
) Access " "
. "
( " " " : Access
Access.
) . .
( Old Name .
) " " .
" " .
Rename
( :
.
) . Microsoft Access
.
: .Access
. Rename " "
.
CopyObject .
75 124
.35 Requery
Requery ) :
.
(.
) :
.Access Access
(.
) :
(. .
.
.
: Requery .
( Control Name .
) ( "" :
). .
)! Forms !
). .
( :
"--) ".
( :
) . .
: Requery :
76 124
Requery .
) : .
(. ) :
. .(.
: ) / :
: .(. ) OLE :OLE
OLE . OLE OLE ""
Windows Microsoft Excel (. .
) : DAvg
DCount DFirst DLast DLookup DMax DMin DStDev DStDevPDSum
DVar .DVarP )( (.
.DSum
Requery .
RepaintObject ) : . Repaint
(.
. ShowAllRecords
) :
. Access "
" " " (. Requery.
77 124
.36 Restore
Restore .
: Restore .
: ) :
.Access
Access (.
. SelectObject
.Restore
MoveSize .
Restore
.
.37 Restore
78 124
: Restore .
: ) :
.Access
Access (.
. SelectObject
.Restore
MoveSize .
Restore
.
.38 Restore
Restore .
: Restore .
: ) :
.Access
Access (.
. SelectObject
.Restore
MoveSize .
79 124
.39 RunCode
RunCode ) :
. FUNCTION (.Function End
.Microsoft Visual Basic
: RunCode .
( ) " "
. " ".
: ) :
. :
(. .Access
)(TestFunction
80 124
Access .
) : . Function
Sub . Sub
(.End Sub ) :
(. Visual Basic
. RunCode .
RunCode Access
" " ) : Sub
Function .(.
) : Access
(. ) :
Access .
(. Access
) :
(. ) :
(.
. Access ) :
. .
(.
" " ) " " : Access
.Access (.
" ".
81 124
.40 RunCommand
RunCommand Microsoft Access .
) : .
(. ) :
. )
( . (.
) : .
(.SHIFT+F10 Acces
: RunCommand .
)( Command .
Access . .
RunCommand Access
) :
(.
) :
:
"" " "
.(.
Access
. Access
.Access
82 124
.
. ""
RunCommand .
Access Access .
.Access
DoMenuItem .RunCommand Access
RunCommand "" .
"" .RunCommand
RunCommand
Visual Basic
RunCommand
) .Application RunCommand (.DoCmd
.41 RunMacro
RunMacro ) :
.(. ) :
. .(.
: . .
: .
RunMacro .
( Macro Name .
) ( "" :
) . ) )
83 124
RunMacro
( :
.
) . Microsoft Access
.
( Repeat Count .
) ) " " ( .
( Repeat Expression( :
) .
) .
) (1 (0).
. .
.
RunMacro
.
" "
" " .
84 124
: .
. .
Access
.
RunMacro
) : .
(. .
) : )
( " " " " .VBA
: (.
) : .
) (.
(. ) :
.
.(.SHIFT+F10
.
.
Access . " " ) " ":
Access .Access
(. Access
.
.42 RunSQL
85 124
: RunSQL .
Use ( : Transaction
) (
). . .
. Access 97 Access
BeginTrans
SQL CommitTrans.
.
:
) : (.
. .
RunSQL .
Access SQL
) : ""
" / " . " " QBE
(. "" ) : ""
" " SQL " " .(.
Access SQL .
86 124
( : INSERT INTO
).
( : ) ) SQL DELETE
).
SELECT...INTO ( : ) )SQL
)(
).
( : ) ) SQL UPDATE
) (
).
) )SQL
CREATE TABLE
ALTER TABLE
DROP TABLE
CREATE INDEX
DROP INDEX
IN .
) :
(. ) :
(.
"" OpenQuery "
" ) " " :
" " . " "
.(. ) SQL SQL
87 124
.43 Save
Save ) Microsoft Access :Microsoft Access
Access Access access
. Access
(. .
) (.
: Save .
( Object Type .
) access " "
( "" : ). .
.
" ".
( Object Name .
) " " .
" "
.
Access.
88 124
Save :
) : Access
(. "" ) "" :
. "" .
(. " " ) "
" : "
" . " " .(.
) : Access .
(. )
: .(.
) : .
: :.(. ""
" " " ".
) : SQL control-of-flow
. SQL
(. " " " ".
89 124
. " " SetWarnings
.
.44 SelectObject
SelectObject ) :
.Access Access
(..
: SelectObject .
( Object Type .
) Access
" "
" ( " "" :
). . .
( Object Name .
) " " .
" " .
" " " "
Microsoft Access "
( " " " :
90 124
" "
( Access Microsoft
Access: Access Microsoft SQL Server
/ .
).(.adp) .
: SelectObject Access ) :
.SetFocus
.
.(. .
) : Access
(. SelectObject
) :
. " __ "
"" " " (. )
) :
. (.
) : .
.((.
.
) (Restore )
.(Maximize
91 124
.45 SendKeys
SendKeys Microsoft Access
.Windows
: SendKeys .
Keystrokes Access .
) (
" ( " "" :
). . 255 .
.
)( Wait ( :
) . .
( ( ( ( . .
: Access SendKey
.Access
. SendKeys
" "
.
. Access PrintOut FindRecord
. SendKeys
.
92 124
SendKeys KeyDown
KeyUp .KeyPress ) ANSI :ANSI
8 Microsoft Windows 256 ) 0
(255 . ASCII ) (.ANSI
( : . KeyPress Microsoft Visual
.Basic SendKeys .
.46 SendObject
SendObject ) :
"--" (. ) :
Access (.
) : Access .
(. ) :
. :
(. ) access :access
Access .
.
(.Excel Access Microsoft .
(*.xls) Microsoft Excel 2000 (*.txt) MS-DOS text rich-text
) (*.rtf :HTML) HTML World Wide
.Web HTML
(*.html) (. Microsoft Outlook
93 124
SendObject
:
( Object Type . (
) ( ( ( (
( Access
" "
"( " "" :
). . ( :
). .
" " .
( Object Name .
) "
" . " "" "
Access .
SendObject
( :
.
) . Access
.
94 124
)
"" " "( );( ( :
) .
Microsoft
Windows.
.
)( Cc "( Cc"(
. Cc .
)( Subject . "" .
"" .
( Message Text .
) .
. " "
" "
.
( Edit Message .
) .
.
.
: .
. Excel .xls
95 124
. ) :
. .
Microsoft SQL Server (.
Access ) OLE :OLE OLE
. OLE OLE "" Windows
Microsoft Excel .(.
.
/ ) ) : /
.
(. ) "" :
.access
(. ) : .
((. ) 1( ) 0(.
) : access
. (.
) :
HTML World Wide Web HTML .
Gopher Telnet (.FTP
) " " : Access
.
) : 2,048( . :
(#subaddress#address#displaytext ) MS-DOS
( : . "" )
"" : . ""
. (.
" " ) " " :
" " . " "
(. :.
) (.xls ) .rtf .txt (.html .
. .
96 124
.
.
SendObject
. .
SendObject .
.
.SendObject
.47 SetMenuItem
SetMenuItem ) (
) : .
(. ) :
97 124
SetMenuItem
) : AddMenu
.(.
SetMenuItem Access Microsoft .
) : )
( " " " " .VBA
: (..
Visual Basic
) : .
(. ) :
. )
( . (.
) : .
(.SHIFT+F10.
: SetMenuItem .
( Menu Index .
) ( " " : .
16) 2(
32,768 .)32,767 0
.
"( " "" :
). .
) AddMenu
.(0
( :
If...Then Select Case.
. ) .
. .
98 124
Command . 0 Index
) ( " ".
( :
.
) .
)
.(0
.
Subcommand Index .
) (
( :
). . 0
"
" .
) ).0
)( Flag . (
( ( ( (
( (
( . .
: SetMenuItem
.
SetMenuItem ) :
.(.
Access .
99 124
.48 SetValue
SetValue ) :
. . Microsoft
SQL Server (. ) :
.
(.
) : )
( ) ( (. Microsoft
Access ) : Access
(. ) :
"--" (. ) :
Access .
: .(. SetValue
Access ) :
.Access Access
.(.
: SetValue .
Item .
)(
(
"" : ). .
(
( :
)) .! Forms !controlname. .
Expression( :
)(
.
100 124
)=( .
Access .
( :
. :
)Variant (VarType 8 ). Variant</.
:
. .
:
) : access
.SQL
__ (. .
!Forms ! .
!Reports !
) :
access .
(. .
101 124
SetValue _
. SetValue _
) SetValue ( .
SetValue _ _
.
SetValue :
.
. SetValue
"" . !Forms . .
) :
. (.
.
. SetValue
_ _
. Visual
.Basic .Microsoft Visual Basic .Visual Basic
: Echo
.
. : Close
"". : OpenForm
: SupplierID
.49 SetWarnings
SetWarnings .
: SetWarnings .
103 124
: ) :
.
(. ) :
.(. . Microsoft Access
) (
.
Access .
Echo .
SetWarnings .
SetWarnings .
.
.
.50 ShowAllRecords
ShowAllRecords ) :
. Access
" " " " (. ):
)( )( .
(. ) :
(. ) :
Access (.
104 124
ShowAllRecords :
) (
. ) :
(. ) :
.(.
ApplyFilter
/ " " " "Where
.OpenForm
) : .
) ( .
(. "" )
"" : . ""
. (. "
" ) " " :
" " . " "
.(.
Customer
" Phone List " . ApplyFilter
ShowAllRecords .GoToControl
.
. AfterUpdate CompanyNameFilter
" ".
105 124
... ...
: ]GoToControl [RecordsetClone].[RecordCount
>0
CompanyNam
) ( e
CompanyNam
e.
.51 ShowToolbar
106 124
ShowToolbar ) :
.
(. ) : .
.(.SHIFT+F10
: ShowToolbar .
( Toolbar Name .
) ( "" :
) . Access
.
.
( )
.
( :
) . ShowToolbar
( :
.
) . Access
.
)( Show
107 124
Access
) Access(
Access.
Access
Access.
: ) :
If...Then .Select Case .
(. .
_
ShowToolbar .
__ ShowToolbar
. ShowToolbar
.
___ ) (0 Visual Basic
Visual Basic .SetOption
.52 StopAllMacros
StopAllMacros ) :
(. .
108 124
: .
) : If...Then Select
.Case . (.
) :
(. .
) (-1 Microsoft Access .
. StopAllMacros
.
.53 StopMacro
StopMacro ) :
(. .
: StopMacro .
: . )
: If...Then .Select Case
. (. ) :
(. . (-1) True
Microsoft Access.
) : Access
(.
109 124
: Echo
.
: MsgBox IsNull([Supplier
)]ID
" Review Products ""
. " .
GoToControl : CompanyName
CompanyName.
110 124
"
: Product List
OpenForm
"
:
.
= ]Where: [Supplier ID
][Forms]![Suppliers]![SupplierID
.54 TransferSQLDatabase
) Microsoft Access :Microsoft Access Access
Microsoft SQL Server / .
(.
TransferSQLDatabase Microsoft SQL Server 7.0
SQL Server 7.0 .
.SQL
: TransferSQLDatabase .
( Database .
111 124
SQL
Windows 2000 .
( Login .
)
" " .
) Access (Password .
Transfer . Copy
( Data
)
. .
) ( .
.
: .
TransferSQLDatabase
:. :
sysadmin ) (.
SQL Access
SQL 7.0 .
112 124
.55 TransferDatabase
TransferDatabase Microsoft
) (.mdb) Access : .
(.
) (.adp) Microsoft Access :Microsoft Access Access
Server Microsoft SQL / .
(. .
Access ) :
Access .
(. Access .
.
: TransferDatabase .
Transfer . Type
) (
"( "" :
). . .
.(.adp) Access
Database Type .
) (
Microsoft Access
. Microsoft Access .
Database Name .
) (
. .
FoxPro
Paradox dBASE .
"( " ( "" )).
( ODBC ODBC:
" ) " ( ODBC
) . , (Open
113 124
ODBC ""
ODBC ODBC.
( :
) . Access
( :
) . .
.
)( Source Access
. FoxPro Paradox dBASE
114 124
Destination Access
)( . FoxPro
Paradox dBASE . )
)dbf. . .
Access
. "" ""
Access " "1.
Access Access
.
Structure Only
) (
. . .
: Access .
Access . Access
. ) :
.Access Access
Access (. .Access
(.mdb) Access
. .
. .
TransferDatabase
" " ) " " : Access .Access
(.
. Access
115 124
TransferDatabase Microsoft Visual Basic
TransferDatabase .DoCmd
.56 TransferSpreadsheet
TransferSpreadsheet Microsoft
) Access :Microsoft Access
. Microsoft Jet( )(.mdb
) Access :Microsoft Access Access Microsoft SQL
Server / .
(.adp)(. . ) )(:
(.Access Microsoft Excel Access .
, Access
.Excel Lotus
3-2-1 Access :
TransferSpreadsheet
.
116 124
Access (.adp).
( Spreadsheet Type .
) .
Microsoft Excel 8-10.
Lotus .WK4 )
( Access .
Access Lotus
.WKS 2.0 Excel
. 2.0 Excel
Lotus .WKS
Excel Lotus 1-2-3
Access .
117 124
Access
Access.
Access
5.0 Excel .
Access
.
5.0
Excel
"".
Access
.
)( Range .
.
( A1:E25 A1..E25 Access 97
( .
5.0 Excel
Budget!A1:C7.
. .
: .Access Access
) : (.
.
118 124
) :
. ""
"" ( . .
) " "
(.
) " " : Access .Access
(.
. Access
. Access
. TransferSpreadsheet
.
.58 TransferText
TransferText Microsoft
) Access : .
(.mdb) (.
) Access :Microsoft Access Access Microsoft
SQL Server / .
(.adp) (. . )
)( :
(.Access Access .
119 124
TransferText
:.
( Transfer Type .
) ( :
) . ( :
) .
HTML.
Microsoft Word
Word
.
HTML
HTML
Word Windows HTML
"( "
"" : ). .
.
Word Windows
.(.adp) Access
( Specification Name
) .
( schema.ini :
)( ) .
.
120 124
. Access
. Access
. /
HTML
.
HTML Access
. Access
.
( SQL/ SQL:
SQL SELECT UPDATE DELETE
WHERE ORDER BY. / SQL
) .
TransferText. SQL
" ".
121 124
Access Access.
Access
.
HTML
" ".
Access
Word Windows .
Access ( :
) .
Access
.
/ .
Access
.
HTML
122 124
) ( Code Page ( :
.
ASCII
) ASCII.
( :
.
)..
: Access .
Access ) :
(. .
Access .
) :
. ""
"" ( . .
) " "
(.
" " )
" " : Access .Access
(. .
Access .
HTML
. TransferText .
/ Access
. .
123 124
) : .
.(.
124 124