HOW TO FETCH THE COLLECTION LIST??

Discussion in 'Tally Developer' started by rishabhexp, Sep 7, 2017.

    
  1. rishabhexp

    rishabhexp New Member


    HELLO,
    I AM CREATING A COLLECTION
    THE COLLECTION IS DISPLAYING THE COMPLETE LIST
    BUT I NEED TO DISPLAY ON LAST 5 ENTRIES IN THE COLLECTION AND THE OLD ENTRIES SHOULD BE DELETED AUTOMATICALLY. AND DISPLAY PREVIOUS LAST ENTRIES. MAXIMUM 5 IN THE FIELD

    HOW TO MODIFY THE COLLECTION TO ACHIEVE THIS RESULT
     
    mahbu likes this.


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member



    Sort your collection as you want...... like Sort : @@InCreasing: -$Date

    Then in the body field.... at line level of main display body (where u define the field......)
    use
    Remove If : $$Line > 5
     


Share This Page