Options

form's timeinterval property

naushienaushie Member Posts: 33
hi.
can anyone tell me how can we set
form's timeinterval property dynamicaly.


i mean at run time form should get this propery from other table.
Naushad Alam
Consultant -Navision

All e Technologies (P) Ltd.
Building Solutions for Extended Enterprises

www.alletec.com

Comments

  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    You can't.
    Have a look at this thread: http://www.mibuso.com/forum/viewtopic.php?t=3388 for a different approach.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    naushienaushie Member Posts: 33
    where can i add this
    'Navision Timer 1.0'.Timer component in the form
    Naushad Alam
    Consultant -Navision

    All e Technologies (P) Ltd.
    Building Solutions for Extended Enterprises

    www.alletec.com
  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Have a look at Codeunit 5065 E-Mail Dispatcher in MBS-Navision 3.70.
    A variable Timer is defined (type Automation) with the property WithEvents = Yes.

    Following code is used to set the interval:
    Timer.Enabled := FALSE;
    Timer.Interval := RMSetup."Time Interval (Sec.)" * 1000;
    Timer.Enabled := TRUE;
    

    And the code that needs to be executed is placed in the Timer::Timer trigger.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    naushienaushie Member Posts: 33
    thanx friends............
    Naushad Alam
    Consultant -Navision

    All e Technologies (P) Ltd.
    Building Solutions for Extended Enterprises

    www.alletec.com
Sign In or Register to comment.