Access uses macro control program--1.6. Some instructions for using macros _access

Source: Internet
Author: User

6. The instructions for macro actions are not required when you use macros, but you can make macros easier to understand and maintain. You cannot use SQL expressions in the Criteria column of a macro. Typically, the direct execution of a macro is just a test. You can either attach a macro to a form, report, or control to respond to an event, or create a custom menu command that executes a macro, after you make sure that the macro is designed correctly.
If you want Microsoft Access to temporarily ignore an action, enter False as a condition. Temporarily ignoring the action helps you find the problem in the macro. If you want to quickly create a macro that performs an action on a specified database object, drag the object from the Database window to the action row in the Macros window. For example, you can create a macro that opens a form by dragging it to an action row. The steps are as follows: Click the vertical Tile command on the Window menu to place the Macros window and the Database window. So that both can appear on the screen, and then in the Database window, click the tab for the type of object you want to drag, click the object, and drag it to an action row. If you drag a macro, you add an action that performs the macro, and dragging other objects (a table, query, form, report, or module) adds an action that opens the object.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.