
Let us select the second option and click Next as in the above screenshot. In this screen we have two options, we can open the form and display a very specific record, or we can open the form and show all the records. For now, let us select frmJobs and click Next. You need to specify which form you would like to open with the command button. There is a couple of ways to build that Macro action, but the simplest way is to simply use the Command Button Wizard.įor common actions like opening a form, select Form Operations from the Categories list and then select Open Form from the Actions list and click Next as in the above screenshot. When you release your mouse, you will see the Command Button Wizard dialog box. Let us now go to the Design View of this form and add button form the Controls menu. In this form, we can add a button allowing users to open up all of the job information. For this, we need to open your database and frmEmployeeData form in which we have created two tabs. Let us start be creating a very simple Macro that opens a form when a command button is clicked. Macros provide a way to run commands without the need to write or even know VBA code, and there is a lot that you could achieve just with Macros. Once you have created database objects like tables, forms and reports, Macros can provide a quick and easy way to tie all those objects together to create a simple database application that anyone can use or even modify, with relatively little training. Macros can be standalone objects viewable from the Navigation pane, or embedded directly into a Form or Report.
MICROSOFT ACCESS ON MAC HOME BUTTON SERIES
Macros in Access work a bit different from Macros in Word or Excel, where you essentially record a series of keystrokes and play them back later.Īccess Macros are built from a set of predefined actions, allowing you to automate common tasks, and add functionality to controls or objects.

A Macro is a tool that allows you to automate tasks and add functionality to your forms, reports, and controls. In this chapter, we will cover the basics of Macros in Access.
