Keeping together MasterData bands

Hi,

I have a list of Items I'd like to have printed with FR 4.6. Some of these Items have similiar Items that follow - it would be helpful if they'd be kept together with each other.

Example

Item 1
Item 2
Item 3
Item like 3
Item 4
Item 5

To do this, Item 3 has a field "SimiliarFollows" (Bool).

I tried:

procedure MasterDataOnBeforePrint(Sender: TfrxComponent);
begin
MasterData.KeepTogether:=<frxDataset."SimiliarFollows">;
end;

but that doesn't do the trick :-(

Unfortunately I don't have a grouped structure - that would make it easy to add a header.

Is there any way to keep MasterData bands together?

Best regards

Mark

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.