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
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