I want to Repeat Two Lines in a Part

Discussion in 'Tally Developer' started by NMS, Oct 3, 2012.

    
  1. NMS

    NMS Member


    Dear Experts,
    I want to Repeat Two Lines in a Part. i have two collections How to Repeat plz help me
    Thanks in Advance.
     


  2. admin

    admin Administrator Staff Member


    It is very simple,

    [Part : My Part]
    Line : My Line
    Repeat : My Line: Coll Name
    Scroll; Vertical

    [Line:My Line]
    Line: My Line1,My Line2

    [Line: My Line1]
    FIeld: F1,F2

    [Line: My Line2]
    Field: F3,F4
     


  3. NMS

    NMS Member


    In one Part i had two Lines and two collections i Want to repeat this two lines.
    Ex:
    [Part : My Part]
    Line : My Line,My line1
    Repeat : My Line: Coll Name
    Repeat : My Line: Coll Name1

    [Line:My Line]
    Field:My Field1

    [Line:My Line 1]
    Field:My Field2

    Scroll; Vertical

    I Had Repeated Like This Way .But it is Not Repeating
    Plz Help Me
    Thanks In Advance.
     


  4. Arun Prasath

    Arun Prasath Member


    Hi,

    Build a Source Collection using both collections, and repeat the Source Collection in the Part level.
     


  5. NMS

    NMS Member


    Dear Sir,
    Please Give a Example for How to build source collection using both collection and repeat in part level.
    Plz Help Me.
    Thanks In Advance.
     


  6. Arun Prasath

    Arun Prasath Member


    try this

    [Collection : My source Coll]

    Collection : Coll Name
    Collection : Coll Name1

    ;; Repeat : My Line : My source Coll in the part level
     


  7. Kamal Sharma

    Kamal Sharma New Member


    Add Explode on first Line and repeat secound line in Explode with another collection

    [part : part1]
    line : line1
    repeate : line1 : coll1

    [Line : Line 1]
    field : field 1
    Explode : Explodepart : yes

    [part : Explodepart]
    line : line2
    repeate : line2 : coll2
     



  8. Dear All,
    You Can achive that. which is already provided in samples. Samples/Action in TDL/Modify Object.txt

    For Ur Reference i am Copying the Main Code.

    Code:
    [Part: ExplDetails]
     
                Lines        : ExplDetails
     
                Switch        : Case 1    : AddExplDetails    : $$NumItems:BillAllocations < $$NumItems:Address OR $$NumItems:BillAllocations = $$NumItems:Address
                Switch        : Case 1    : BillExplDetails    : $$NumItems:BillAllocations > $$NumItems:Address
     
                [!Part: AddExplDetails]
           
                    Repeat        : ExplDetails    : Address
     
                [!Part: BillExplDetails]
     
                    Repeat        : ExplDetails    : BillAllocations
    
     


  9. Sincere Programmer

    Sincere Programmer New Member


    Dear fellow Developers,
    Is there any way that I can repeat Parts??
    Please suggest me!
    Thanks in advance!!!
     


Share This Page