CalendarDays Collection

Crystal Enterprise InfoStore Library
See Also  

This collection allows you to create a calendar template, which is a user-defined set of days that can be used for scheduling a job. For example, if you want a job to run only on Tuesdays and Thursdays during the next year, you can add two CalendarDay objects to the collection: one that runs the job on Tuesday and one that runs it on Thursday.

The Type Property must be set to ceScheduleTypeCalendar before you can schedule the report to run according to specific calendar days. To create a schedule based on specific dates instead of specific days, use the IntervalNthDay Property.

Properties
Property Description

Count Property

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

Item Property

Returns an object given an index. Read-Only.

Methods
Method Description

Add Method

Adds a calendar day to the collection.

Delete Method

Removes a calendar day from the collection.



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