How to Control Repeat Lines

Discussion in 'Tally Developer' started by Gopaalran, Mar 4, 2014.

    
  1. Gopaalran

    Gopaalran New Member


    Dear Friends,
    On printing of Sales Voucher, Company Address it is printed as provided in Company Master. My query is if Company Address have 4 lines but I want to print only 3 lines or 5 lines how to set this. Please help me.
    Thanks in advance
    Gopaal Sarawagi
     



  2. In the 'Repeat Line' Part
    Local : Line : My Company Address : Empty If : $$Line > 3
     


  3. JObimon Arackal JOhn

    JObimon Arackal JOhn Active Member


    Give Break Attribute

    Eg.
    Break After:$$Line=##YourVariable
    Set:##YourVariable
     


  4. Gopaalran

    Gopaalran New Member


    Thank for your valuable reply. As per you reply if company address have more then 3 lines than it will break after 3 lines but my query is I want to set the address line repeat only 3 times. if company address having more or less lines.
     


  5. Maulik Patel

    Maulik Patel Active Member


    Dear Gopaalran,

    You can write following code in your line

    Invisible : $$Line > 3

    OR if you want fixed 3 lines, then

    Set As : $$FullList:Address:$Address
    Lines : 3
     


  6. Gopaalran

    Gopaalran New Member


    Sir it will shrink 2 line into 1 field
     


  7. Maulik Patel

    Maulik Patel Active Member


    Dear Gopaalran,

    If you will write "Lines : 3" in your field then it will not shrink.
     


  8. Gopaalran

    Gopaalran New Member


    Dear Maulik,
    it is shirnked.
     


  9. Maulik Patel

    Maulik Patel Active Member


    Dear Sir,
    If you will try to Set 5 lines in to 3 lines then it must be shrieked. Either you should increase your filed with or you should increase lines.
     
    bhavsar Deval likes this.


  10. Gopaalran

    Gopaalran New Member


    Dear Maulik,
    If the address having 3 lines & I use these code it will shrink into 2 lines.
     


  11. Maulik Patel

    Maulik Patel Active Member


    Please check following things

    1. Address in compnay master is in 3 lines
    2. Address is not shrinked in company master
    3. Width of your field is same as per company master address field
    4. You have mentioned "Lines : 3" in your field.

    If these things are ok then you will not get shrienked address.
     
    bhavsar Deval likes this.



  12. how to stop Repeat Collection field after 10 line ??? if i have 30 bill and i want show only 10 bill then how can i stop repeat field

    i use Invisible : $$Line > 10 in field then (error all field in invisble)
     


  13. Maulik Patel

    Maulik Patel Active Member


    try this

    Remove If : $$Line > 10
     



  14. how to set on bottom 12.png
     
    Last edited: Sep 14, 2015



  15. Height : 12

    its work
     


Share This Page