Hello
I have problem with Trigger “On Change Hour”, it doesn’t work properly.
My trigger is written as ESL server event. I need to create some reports during night, but my reporting process was never started. I have checked if on change value triggering in D2000 is possible and we use many other triggers in our application, but I don’t know where is a problem for that case. Does anyone have similar experience?
.
Here is an example from my code.
//BEGIN SERVER EVENT//
;--------------------------------------------------------------------
PROCEDURE Trigger(REAL _value, ALIAS _obj, INT _row, INT _col)
BOOL _bOk
IF %Hour(SysTime) = 22 THEN
CALL [E.ReportGenerator] GenerateReports(_bOk) ON SELF.EVH
ENDIF
END Trigger
;--------------------------------------------------------------------
BEGIN
ON CHANGE Hour GOTO Trigger
END
;--------------------------------------------------------------------
//END SERVER EVENT//
I’m using version D2000 V10 R39.
Thanks