Events Collection

Crystal Enterprise InfoStore Library
See Also  

Use this collection to schedule a job with events. When you schedule an object with events, the object will either be run when specific events occurs, or running the object may trigger other events upon completion. For example, you can schedule a report that, upon being processed, will result in other reports to be run. These other reports will run only when the event occurs. The events that an object waits for are called dependencies, and the events that an object triggers are called dependants.

Event types

You can tell an object to wait for any, or all, of three supported event types:

Whereas dependencies can be any of the supported event types, dependants can be only schedule-based events.

Scheduling a report with events

To schedule a job with events, you must first create an event with Crystal Enterprise Event PlugIn Library, and the event server must be enabled.

When you schedule a report that waits for a specified event, the report will run only when the event is triggered, and only when the rest of the schedule conditions are met. If the event is triggered before the start date of the report, the report will not run. If you have specified an end date for this report, and if the event is not triggered before the end date occurs, the report will not run, as not all of the conditions will have been met.

Note:    An event can be triggered more than once, which means that if it is triggered before a report's start date, and the report does not run, it can be triggered again at a later date.

Properties
Property Description

Count Property

The number of items in the collection. Read-Only.

Item Property

Returns an event given an index. Read-Only.

Methods
Method Description

Add Method

Adds an event to the collection.

Delete Method

Removes an event from the collection.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com