Retrieving the SchedulingInfo interface and setting scheduling options

To retrieve the SchedulingInfo interface, use the InfoObject's SchedulingInfo property.

Example

Reports= IStore.Query("Select SI_NAME, SI_ID From CI_INFOOBJECTS Where SI_ID=" + ID);

var ScheduleInfo ;

ScheduleInfo = Reports.Item(1).SchedulingInfo;

Now set the regular scheduling options. This report will be set to run immediately and only once.

ScheduleInfo.Type = 0;

ScheduleInfo.RightNow = true;

Go to the next step: Setting the instance format.



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