Cross Tab OnBeforePrint

edited 10:36PM in FastReport 4.0
Hi all.

I've done a report to only return values according to a cheklistbox and a condition of a radiobutton, checked or not.

This works well in the normal band placement, but how do I do this in a db CrossTab?

Here is the code for the Masterdata Band :

procedure Masterdata1OnBeforePrint(Sender: TfrxComponent);
begin
if
Pos(<Routes."Number">,Memo13.Lines.Text) >= 1
Then
MasterData1.Visible := True
Else If
RadioButton2.checked
Then Masterdata1.Visible := True
Else MasterData1.Visible :=False;
end;

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.