From the course: Access 2016: Forms and Reports

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Refine button macros

Refine button macros

From the course: Access 2016: Forms and Reports

Start my 1-month free trial

Refine button macros

- [Voiceover] We've got a good head start on our Main Menus system here. I'll double click on it to open that up so you can see what that looks like. And right now, we've got a button here that'll open up our employee directory. And then if we return to our Main Menu, we've also got a button that will exit the database if you click on it. Now what I wanna do is actually refine what these buttons are doing. Right now, when I click on Employee Directory, it opens the directory, but it does it in a different tab. What I'd like to do is actually replace the Main Menu tab here at the very beginning. Then, I'd also like to provide a button on the Employee Directory that'll return you to the Main Menu back here. We can do that by editing the macros that are attached to the buttons. Let's go into Design View and click on the button here. And we'll see that we have the Event tab, there's an On Click Event, the On Click Event right now is an embedded macro and this is the macro that the wizard…

Contents