Navision Timer 1.0
Hello I read in the following topic
http://www.mibuso.org/forum/viewtopic.p ... highlight=
about being able to catch the navision erros using The timer automation with the event TimerError.
Here is my code. TempCU suppose to basically just errors out every time.
IF ISCLEAR(MyTimer) THEN
CREATE(MyTimer);
MyTimer.Interval := 1000;
MyTimer.Enabled := TRUE;
MyTimer::Timer(Milliseconds : Integer)
if TempCU.RUN then;
MyTimer::TimerError(ErrorString : Text[1024])
MESSAGE(ErrorString);
What I expect from this is that TimerError Event would tigger and message would show me the ErrorString. Unfortunately it doesn't work.
What am I doing wrong? Has anybody tried this?
Thanks in advance.
Ahmed Rashed Amini
Independent Consultant/Developer
blog:
https://dynamicsuser.net/nav/b/ara3n
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Two different things for two different purposes.
RIS Plus, LLC
when run interactively the ErrorDialog will popup prior to triggering the TimerErrorEvent.
](*,)
MBS NAV Consultant