Use a Composite action to execute multiple actions from within one action.
You can use a Composite action on multiple controls.
- You can duplicate an action within a composite action.
- You can add a composite action within another action. But you cannot add a composite action to itself.
On the form modeling bar, click
Actions and click
The New action dialog box is displayed.
- On the Type list, select Composite.
- Change the default Name (Composite1) to something meaningful.
- Optional. Enter a Description for the action.
To add actions, click
The Add form action dialog box is displayed.
Select the required actions and click
The selected actions appear in the Actions box.
- Use to set the order in which the actions must be executed.
The newly created action appears on the Actions page.
Associate the action with the control to trigger this action. See
Configure actions for form control
events. Alternatively to call this action for a form event, associate the action with the form. See
Associate an action with a form.
When this action is triggered, all enabled actions within it are executed in the specified order.
Create Composite action within an event
You can select multiple actions within an event and create a Composite action; this allows in reusing the actions within an event.
This option is enabled only when you select actions in a consecutive order.
This option is not applicable for Capture actions.
Composite actionwithin an event.
- Create a standard form. See Create a form.
- Add a Button control to the form.
Events tab, click the
The Event dialog box is displayed.
- Select the actions you want as a composite action. Press Ctrl+click to select multiple actions.
Create composite action.
The New action dialog box is displayed with the selected actions in the correct order. By default, the
Action typeis set to Composite and
Nameis set as Composite 1.You can reuse this Composite action in other form events which uses the same logical sequence of actions. You can change the name and description; however, you cannot change the order of actions.
Save the action.
The action is saved and listed as Composite action in the Actions list page.