Examples of using Data macros in English and their translations into Vietnamese
{-}
-
Colloquial
-
Ecclesiastic
-
Computer
Data macros; group functions in reports.
This article shows you how to create and debug data macros.
Data macros: Change data based on events.
This distinguishes them from data macros, which are attached to tables.
Data macros do not appear in the Navigation Pane under Macros. .
Among other things, you can use data macros to validate and ensure the accuracy of data in a table.
Data macros and their actions are attached to specific table events such as when you add a new record to a table.
In addition to traditional macros, you use the new macro builder to create data macros, a new feature.
You can see data macros in action in the following video.
Some common macro debugging tools, such as the Single Step command and the MessageBox macro action,are not available for data macros.
You can call a named data macros from any other data macro or standard macro. .
Although some desktop database features do not translate to the Web, you can do many of the same things by using new features,such as calculated fields and data macros.
Data macros can be programmed to run immediately before or after you add, update or delete data in a table.
There are two main types of data macros- those that are triggered by table events(also called"event-driven" data macros), and those that run in response to being called by name(also known as"named" data macros). .
Data macros help support aggregates in web databases, and also provide a way to implement"triggers" in any Access 2010 database.
If an error occurs in a data macro, you might be able to tell what happened by viewing the information in the Application Log table.
For example, to create a data macro that runs after you delete a record from the table, click After Delete.
A named or"standalone" data macro is associated with a specific table, but not with a specific event.
You can use a data macro to set PercentComplete to 100 when you set Status to Complete, and 0 when you set Status to Not Started.
Open the table with the data macro that you want to rename or delete.
A data macro allows you to automate tasks and add functionality directly to your tables.
You can use a data macro to set PercentComplete to 100 when you set Status to Complete, and 0 when you set Status to Not Started.
You can program a data macro to run immediately after any of these three events, or immediately before a delete or change event.
They also enable you topass object references from standard macros into the data macro.
Then copy and paste the data into the existing table manually orby using a data macro.
In the Data Macro Manager dialog box, click Delete next to the data macro that you want to rename.
In the Navigation Pane,double-click the table to which you want to add the data macro.
In the Navigation Pane, double-click the table that contains the data macro that you want to edit.