|Home » Technical Support » DBISAM Technical Support » Product Manuals » DBISAM Version 4 Manual for RAD Studio XE (Delphi) » Component Reference » TDBISAMSession » AddRemoteEvent Method|
procedure AddRemoteEvent(const EventName: String; const EventDescription: String; EventRunType: TEventRunType; EventStartDate: TDateTime; EventEndDate: TDateTime; EventStartTime: TDateTime; EventEndTime: TDateTime; EventInterval: Word; EventDays: TEventDays; EventDayOfMonth: TEventDayOfMonth; EventDayOfWeek: TEventDayOfWeek; EventMonths: TEventMonths)
|Run Type||Parameters Needed|
|rtOnce||No Other Parameters|
The EventDays parameter specifies which days of the week to run on, with day 1 being Sunday and day 7 being Saturday. Just set the array index of the desired day to True to cause the event to run on that day.
The EventDayOfMonth parameter specifies which day of the month to run on, a numbered day (1-31) or a specific day (Sunday-Saturday) of the 1st, 2nd, 3rd, or 4th week specified by the EventDayOfWeekParameter. The EventMonths parameter specifies which months of the year to run on, with month 1 being January and month 12 being December. Just set the array index of the desired month to True to cause the event to run on that month.