How to prevent text being looped in a detail band

edited May 2019 in FastReport 4.0
Hi guys,

I wanted to print a detail-band with a few datasets. So far, it works. But I wanted the text which is just custom and not from the dataset to be invisible or to not being looped like the datasets.

To have an example I attached a screenshot.

So that bold Zertifikate should be printed just once and the datasets should be printed all.


Is there a possibility to count the datasets line for line? If so I could just write a condition or a custom counter and if the condition is true "Zertifikate" is set to invisible.

Comments

  • gpigpi
    edited 1:39AM
    Use something like
    ZertifikateMemo.Visible := <Line> = 1;
    
    in the band's OnBeforePrint event

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.