Cross Tab OnBeforePrint
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;
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;