Time Trigger

Alex
Member Posts: 54
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.de
DolphinCT.de
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.de
DolphinCT.de
Best regards
Alex Schubert
ERP & Navision
Dolphin Communication Technologies GmbH
Otto-Hahnstr. 1 c
D-69190 Walldorf
Alex Schubert
ERP & Navision
Dolphin Communication Technologies GmbH
Otto-Hahnstr. 1 c
D-69190 Walldorf
0
Comments
-
On a form
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.uk0 -
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Dave Cox:
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!No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 -
And that you can't switch the OnTimer trigger on/off at runtime.
John0 -
How about two forms on Timer()
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.uk0 -
ThnxBest regards
Alex Schubert
ERP & Navision
Dolphin Communication Technologies GmbH
Otto-Hahnstr. 1 c
D-69190 Walldorf0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions