Trigger a report automatically from an event |
|
Allow users to trigger a report from a CimView screen |
Trigger a report automatically from an event
Open the Event Editor in the project's Workbench.
Create any event you wish to trigger the report.
Create an action for this event to run the script.
Result: The report automatically generates and prints whenever the event occurs.
Allow users to trigger a report from a CimView screen
Open a screen in CimEdit.
Select or create the object you want to trigger the report.
Display the object's property sheets.
On the Script tab, click Edit.
In the Edit Script window, enter a script that will trigger the report. You can generate the report directly, or trigger an event that invokes an action that generates the report.
Close the Edit Script window.
Display the Events tab.
Create a new event and assign it a new procedure.
In the Procedure Information dialog box, create an Invoke Script action and specify the script you created.
Click OK to save the new procedure information.
Click OK to save the object's properties.
Result: When a user executes the event you configured, the report automatically generates and prints.
Create an event to trigger an automatic report. |