
Introduction to Access programming - Microsoft Support
Learn about using macros and VBA code in Access databases to program and automate your applications.
QuitAccess Macro Action - Microsoft Support
Access doesn't run any actions that follow the QuitAccess action in a macro. You can use this action to quit Access without prompts from Save dialog boxes by using a custom menu …
Filter Property - Microsoft Support
To apply a saved filter to a form, query, or table, you can click Toggle Filter under Sort & Filter on the Data tab, or use a macro or VBA code to set the FilterOn property to True. For reports, you …
TimerInterval Property - Microsoft Support
To run VBA code at intervals specified by the TimerInterval property, put the code in the form's Timer event procedure. For example, to requery records every 30 seconds, put the code to …
Display "Hello World!" in Access - Microsoft Support
Using Access VBA, here is an easy way to do this. Open Access from the Windows Start Menu. To open Visual Basic, press Ctrl+G. In the Immediate window pane, enter Print MsgBox …
IsNull Function - Microsoft Support
Note: This example demonstrates the use of this function in a Visual Basic for Applications (VBA) module. For more information about working with VBA, select Developer Reference in the drop …
Format Function - Microsoft Support
In Microsoft Access version 2.0 and earlier, you could use the Format function to return one value for a zero-length string and another for a value. For example, you could use a format …
Array Function - Microsoft Support
Note: Examples that follow demonstrate the use of this function in a Visual Basic for Applications (VBA) module. For more information about working with VBA, select Developer Reference in …
MoveAndSizeWindow Macro Action - Microsoft Support
In Access desktop databases, if you have set your document window options to use overlapping windows instead of tabbed documents, you can use the MoveAndSizeWindow macro action to …
GoToRecord Macro Action - Microsoft Support
You can use the GoToRecord macro action in Access desktop databases and Access web apps to make the specified record the current record in an open table, form, or query result set.