Auto Column Report

Discussion in 'Tally Developer' started by AMIT JALAN, Mar 15, 2024.

    
  1. AMIT JALAN

    AMIT JALAN Member


    Please help me in Auto Column Report.

    I have started with the below code But I'm Getting Blank in the Field2 where I am expecting Ledger Name.

    How to Assign & Use Value to Repeat variable... Please help me.

    Code:
    [#Menu: Gateway of Tally]
        Add    : Item    : Before    : @@locquit    : Test    : Display    : AJTest
       
    [Report: AJTest]
        Repeat        : AJVariable1
        Variable    : DoSetAutoColumn
        Set         : DoSetAutoColumn       : Yes
        Set         : DSPRepeatCollection    : "AJList of Ledger"
       
    [Form: AJTest]
        Option        : Dummy Option        : $$SetAutoColumns:AJVariable1
        Part        : AJPart
       
       
    [Part: AJPart]
        Line    : AJLine
        Scroll    : Horizontal
        Scroll    : Vertical
       
    [Line: AJLine]
        Field    : AJField1, AJField2
        Repeat    : AJField2
       
    [Field: AJField1]
        Use    : Name Field
        Set as    : "Ledger Name"
       
    [Field: AJField2]
        Use    : NameField
        Set as    : ##AJVariable1
       
       
    [System: Variable]
        AJVariable1    : ""
       
    [Variable: AJVariable1]
        Type        : String
        Volatile    : Yes
        Repeat        : ##DSPRepeatCollection
       
    [Collection: AJList of Ledger]
        Type: Ledger
     


Share This Page