EConvertError when Triggers[].EndDate is zero

This forum is designated to discuss SiComponents Scheduling Agent.
Post Reply
chula
Posts: 11
Joined: Tue Nov 27, 2007 10:43 am

EConvertError when Triggers[].EndDate is zero

Post by chula »

If there is no EndDate for a trigger, is the desired checking method:

if Triggers[].EndDate = 0 ??

The EConvertError was trapped in side the VCL, so I could not trap the convesion error.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

There is HasEndDate property to indicate is EndDate necessary or not.
Best regards,
Igor Siticov.
chula
Posts: 11
Joined: Tue Nov 27, 2007 10:43 am

Post by chula »

isiticov wrote:There is HasEndDate property to indicate is EndDate necessary or not.
Thanks!
Post Reply