Options

Time Trigger

AlexAlex Member Posts: 54
edited 2000-06-30 in Navision Financials
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
Best regards
Alex Schubert

ERP & Navision

Dolphin Communication Technologies GmbH
Otto-Hahnstr. 1 c
D-69190 Walldorf

Comments

  • Options
    Dave_CoxDave_Cox Member Posts: 83
    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.uk
    MindSource (UK) Limited
    Navision Service Partner

    david@mindsource.co.uk
    info@mindsource.co.uk
  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    <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)
  • Options
    John_TegelaarJohn_Tegelaar Member Posts: 159
    And that you can't switch the OnTimer trigger on/off at runtime.

    John
  • Options
    Mr_David_CoxMr_David_Cox Member Posts: 15
    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.uk
    MindSource(UK)Limited
    Navision Service Partner
    info@mindsource.co.uk
    www.mindsource.co.uk
  • Options
    AlexAlex Member Posts: 54
    Thnx
    Best regards
    Alex Schubert

    ERP & Navision

    Dolphin Communication Technologies GmbH
    Otto-Hahnstr. 1 c
    D-69190 Walldorf
Sign In or Register to comment.