Access Advanced 1
01. Macro Basics (13:40)
What is a Macro?
Benefits of Macros
Limitations of Macros
Review of Macros in our Database
02. Building Macros (14:47)
Create a Standalone Macro
Create > Macro
Macro Builder
Action Catalog
Beep Command
Delete a Command from Macro
MessageBox Command
Command Arguments
Hello World Example
OpenForm Command
Where Condition v Filter
Embedded Macro in Form Button
Build Event
On Click Event
03. Making Macros Smart (16:58)
Macro to Open Form to Specific Record
On Dbl Click Event
= Sign Required in Where Condition
Blue Fields Double-Clickable
ControlTip Text
Open Specific Contact
If Then Command
IsNull Function
If Not IsNull
Add Else Condition
MessageBox Command
StopMacro Command
Show Orders for Specific Customer
04. Form Open Events (15:29)
More With Conditions
Open Specific Order from OrderListF
Requery a Form when you return to it
On Activate Event Example
Discussion of Other Events:
On Open, On Close
On Resize
On Activate, On Deactivate
On Load, On Unload
On No Data Event for Reports
CancelEvent
|