PlannerAlarm on the day before or 2 days before


1. How to set TPlannerItem.Alarm.TimeBefore for example on 2 days before?

2. A TPlannerItem.Alarm should trigger a alarm message of a TPlannerItem which starts on 8 am of the next day 20 hours before on 6 pm of  today. But it doesn't work...

Thanks for help,


  1. is resolved

In what mode is your planner?

I hope  you mean:
DBPlanner.Mode.PlannerType := plDay
DBDaySource.NumberOfDays := 7