Stop Refresh

Discussion in 'Tally Developer' started by HVPatel, Oct 4, 2012.

    
  1. HVPatel

    HVPatel Active Member


    Using Below Code
    Code:
    [Function: TSPL Smp Refresh Balance Sheet]
     
        00    : MSGBOX        : "Refresh Data"        : "This will refresh the Reports every minute which is very useful in a multi user environment"
        05    : START TIMER    : TSPL Smp Refresh Data    : 60
        10    : DISPLAY        : Balance Sheet
       
    [System: Event]
        TSPL Smp RefreshData: TIMER    : TRUE    : Refresh Data
    
    it is refreshing every reports, any code to refresh only balance sheet till in display mode.
    tdl code for stop refresh ?
     
    hitarth likes this.


  2. Saran Prabhu

    Saran Prabhu New Member


    can u please guide me in writing an system event to call a function every minute
     


  3. balajimg

    balajimg Active Member


    add last line in function as follows

    [Function: TSPL Smp Refresh Balance Sheet]

    00 : MSGBOX : "Refresh Data" : "This will refresh the Reports every minute which is very useful in a multi user environment"
    05 : START TIMER : TSPL Smp Refresh Data : 60
    10 : DISPLAY : Balance Sheet
    20 : STOP TIMER : TSPL Smp Refresh Data

    [System: Event]
    TSPL Smp RefreshData: TIMER : TRUE : Refresh Data
     


Share This Page