How to hide text if don't have value (empty)

tihomirvitkovictihomirvitkovic Croatia
edited 4:31PM in FastReport .NET
I am doing tax summary on invoice.
It is on summary part of reports. It has more rows:

Tax Tax base Tax amont
5% 100 5
10% 0 0
20% 100 20
(all of this are text objects)

I want to remove (don't show) the row where the Tax base =0. I set text property to text.visible=false in code on before_print
Now I have empty space and I want to move 3rd row up for 1 line (row).
How to do that?

Thank you!

Comments

  • hellbrhellbr Switzerland
    edited 4:31PM
    I am doing tax summary on invoice.
    It is on summary part of reports. It has more rows:

    Tax Tax base Tax amont
    5% 100 5
    10% 0 0
    20% 100 20
    (all of this are text objects)

    I want to remove (don't show) the row where the Tax base =0. I set text property to text.visible=false in code on before_print
    Now I have empty space and I want to move 3rd row up for 1 line (row).
    How to do that?

    Thank you!

    create a table and put the unused TableRows on not visible

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.