collection filter clarification

Discussion in 'Tally Developer' started by mutharasan, Sep 19, 2018.

    
  1. mutharasan

    mutharasan Member


    Dear All Tdl experts,

    I have written a program of All ledgers with closing balance, in this report, I have applied one filter to filter a ledger Name. It is working fine. more over i need to filter multiple ledger Name in one stroke. Is it possible in Tally? I don't know this how to write. I have attached the code. If is it possible please kindly do reply.

    Note : - I used Dsp Template and its working fine. But I need to write my own filter.

    Thanks in advance.
     

    Attached Files:



  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    If............Else If..............Else If.......... Else ........... and so on.....

    use multiple steps...........
     


  3. mutharasan

    mutharasan Member


    Dear amit kumar sir,

    Thanks for your valuable reply

    I don't know , Where can i use this if else if and so on

    Thanking You,
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    yrarptyrepoflr : If (##Myselectpty="ABC" Or $$IssysName:##Myselectpty) Then yes Else +
    If (##Myselectpty="DEF" Or $$IssysName:##Myselectpty) Then yes Else +
    If (##Myselectpty="GHI" Or $$IssysName:##Myselectpty) Then yes Else +
    If (##Myselectpty="JKL" Or $$IssysName:##Myselectpty) Then yes Else +
    If (##Myselectpty="MNO" Or $$IssysName:##Myselectpty) Then yes Else @@Yraptysub

    and so on.......................above is an example of usage.............
     


  5. sivam

    sivam Active Member


    Hi Mutharasan,

    Just Try with this One. This may help you.
     

    Attached Files:

    vinoth, Jaya and Maulik Patel like this.


  6. mutharasan

    mutharasan Member


    Dear Sivam,

    How are you,

    I am really happy for reply to my thread.

    your programing technique is very smart. it is really very very useful.

    do continue, Thanking you.
     


  7. mutharasan

    mutharasan Member


    Dear Amit sir,

    Thanks for your kind reply. It is working fine.

    do continue, Thanking You.
     


Share This Page