A Macro is a tool that allows you to automate tasks and add functionality to your forms, reports, and controls.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.
For this, we need to open your database and frmEmployeeData form in which we have created two tabs. When you release your mouse, you will see the Command Button Wizard dialog box. Let us select the second option and click Next as in the above screenshot. Here, we want the text View Jobs to display and now click Next. Make sure that the command button is selected and click on the Event tab on the Property Sheet. If you now want to modify this Macro, click on the button to open up the Macro generated by the Wizard. You have the Data Entry options, Data ImportExport and so on, and on the left in the main area you have another Macro. ![]() Here we want to change the Data Mode because frmJobs is set to the Add Mode which only allows the addition of new records. We can override this here in this Macro by changing it to the Edit Mode.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |