Skip to Content
0
Former Member
Aug 24, 2009 at 02:23 PM

Scheduling Report for Every Week on x day

17 Views

Hi there,

Please could someone either provide me with some sample code or point me in the direction of some documentation that explains how I can programatically set the schedule on a crystal report running on Crystal server XI to run every week on a specified set of days.

I am assuming that I need to use something like the following:-

ceScheduleInfo.Type = CeScheduleType.ceScheduleTypeWeekly

ceScheduleInfo.RightNow = False

ceScheduleInfo.BeginDate = ScheduleRow("StartDate").ToString

ceScheduleInfo.EndDate = ScheduleRow("EndDate").ToString

I have no idea how I should specify that the weekly schedule should run on (for example) Monday, Wednesday and Friday

Regards

Lloyd