Hello Folks,
Have anyone from you an example vor the onTime Trigger in Navision 2.01 and higher ?!
Thanks Alex
Best regards
Alex Schubert
ERP & Navision
Dolphin Communication Technologies GmbH
Otto-Hahnstr. 1 c
D-69190 Walldorf
<A HREF="mailto:schubert@dolphinct.de">schubert@dolphinct.de</A>
schubert@dolphinct.deDolphinCT.de
Best regards
Alex Schubert
ERP & Navision
Dolphin Communication Technologies GmbH
Otto-Hahnstr. 1 c
D-69190 Walldorf
0
Comments
Just Create a C/AL Global Variable Name: CurrTime SubType: Time
Set the Form Property TimerInterval to 6000
Note: 6000 = 1 Second
place on the form a control with the SourceExpr = CurrTime
Form C/AL Code Trigger
OnTimer()
CurrTime:=TIME;
CurrForm.UPDATE(FALSE);
It's a shame the Timer is only applied to forms!
One of the uses could be to poll for a file
Have Fun
MindSource (UK) Limited
Navision Service Partner
david@mindsource.co.uk
info@mindsource.co.uk
Navision Service Partner
david@mindsource.co.uk
info@mindsource.co.uk
It's a shame the Timer is only applied to forms!
<HR></BLOCKQUOTE>
And it's also a pity that the timerinterval is not changeable at runtime!
John
Form1
If Condition Then
CurrForm.Close;
Form2
If Condition Then
FORM1.RUN;
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by John Tegelaar:
And that you can't switch the OnTimer trigger on/off at runtime.
John<HR></BLOCKQUOTE>
MindSource(UK)Limited
Navision Service Partner
info@mindsource.co.uk
www.mindsource.co.uk
Navision Service Partner
info@mindsource.co.uk
www.mindsource.co.uk
Alex Schubert
ERP & Navision
Dolphin Communication Technologies GmbH
Otto-Hahnstr. 1 c
D-69190 Walldorf