Report Filter issue

Discussion in 'Tally Developer' started by Mahesh Sethi, Sep 18, 2023.

    
  1. Mahesh Sethi

    Mahesh Sethi Member


    Dear Admin & Experts,

    I am Developed module for colonizer. in a report first filter is working correct but in second filter button is not working properly. pls guide me. here i share screen shoot of the report & code of the filter button.

    ;;=================This is button for filter colony wise data=====

    [Button : Colony]
    Key : CTRL+C
    Action : Alter:ColonyRepFltr

    [Report : ColonyRepFltr]
    Form : ColonyRepFltr

    [Form : ColonyRepFltr]
    Part : ColonyRepFltr

    [Part : ColonyRepFltr]
    Line : ColonyRepFltr

    [Line : ColonyRepFltr]
    Field : Medium Prompt,ColonyRepFltr
    Local:Field:Medium Prompt:Set as:"Select Colony"

    [Field : ColonyRepFltr]
    Use : Name Field
    Table : ListofColony,All Colony
    Show Table : Always
    Width : 27
    Modifies : VarColonyName:Yes

    [Variable : VarColonyName]
    Type : String

    [System : Variable]
    VarColonyName:""


    [Collection:ListofColony]
    Type :Group
    Child Of :"Colony"
    Belongs To :Yes
    Fetch :Name
    Format :$Name,30

    ;;=====================End the colony filter button====================
    ;;=================This is button for filter Broker wise data=====

    [Button : Broker]
    Key : CTRL+B
    Action : Alter:BrokerRepFltr

    [Report : BrokerRepFltr]
    Form : BrokerRepFltr

    [Form : BrokerRepFltr]
    Part : BrokerRepFltr

    [Part : BrokerRepFltr]
    Line : BrokerRepFltr

    [Line : BrokerRepFltr]
    Field : Medium Prompt,BrokerRepFltr
    Local:Field:Medium Prompt:Set as:"Select Broker"

    [Field : BrokerRepFltr]
    Use : Name Field
    Table : ListofBroker,All Broker
    Show Table : Always
    Width : 27
    Modifies : VarBrokerName:Yes

    [Variable : VarBrokerName]
    Type : String

    [System : Variable]
    VarBrokerName:""


    [Collection:ListofBroker]
    Type : Ledger
    Belongs To : $$GroupSundryCreditors
    Child Of : "Broker"
    Belongs To : Yes
    Fetch : Name
    Format : $Name,30




    upload_2023-9-18_14-25-3.png
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Without tally data -- cannot be checked ----

    You have 2 variables and both variable call on a Different report -------- you will need to incorporate in same report by using OPTION -- based on selected variable.
     


  3. Mahesh Sethi

    Mahesh Sethi Member


    Dear Amit Ji,

    Can you pls give me your mail id i will send you data & tdl file.

    Thanks & Regards,

    Mani
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Not now -- Audits in progress till Sep end
     


  5. Hems

    Hems Member



  6. Mahesh Sethi

    Mahesh Sethi Member


    Hi,

    Is there Any Expert to help me out in the above issue pls,

    Awaiting for your valuable replay.

    Mani
     


  7. Jenny

    Jenny Active Member


    [Field : BrokerRepFltr]
    Use : Name Field
    Table : ListofBroker,All Broker
    Show Table : Always
    Width : 27
    Variable : VarBrokerName
    Modifies : VarBrokerName

    [Collection:ListofBroker]
    Type : Ledger
    Belongs To : $$GroupSundryCreditors
    Child Of : "Broker"
    Belongs To : Yes
    Fetch : Name
    Format : $Name,30
    Filter :BrokerWise

    [System:Formula]
    BrokerWise : If $$IsEndOfList:##VarBrokerName or ##VarBrokerName="" Then $BrokerName Else ##VarBrokerName


    [Variable:VarBrokerName]
    Type : String

    [System:Variables]
    VarBrokerName:""
     


Share This Page