Dialog Page Execute

Alex_de_KockAlex_de_Kock Bloemfontein, Free State, South Africa
edited 4:17AM in FastReport 4.0
Good day all

I managed to insert a dialog page, from which I would like to filter my Masterdata according to the specified dates on the dialog page.

This is what i've come up with so far, but the dialogpage is not filtering as I expected:

Thank you!

procedure MasterData1OnBeforePrint(Sender: TfrxComponent);
begin
begin
MasterData1.Visible :=<Masterdata."ORDDATE">
end;

end;

procedure Label1OnClick(Sender: TfrxComponent);
begin

end;
procedure DateEdit1OnClick(Sender: TfrxComponent);
begin
DateEdit1.Date:= <Masterdata."ORDDATE">;
end;

procedure DateEdit2OnClick(Sender: TfrxComponent);
begin
DateEdit2.Date:= <Masterdata."ORDDATE">;
end;

procedure DialogPage1OnActivate(Sender: TfrxComponent);
begin
DateEdit1.Date:=Encodedate(2009,1,1);
DateEdit2.Date:=Date;
end;

begin
end.

Leave a Comment