Dialog Page Execute

Alex_de_KockAlex_de_Kock Bloemfontein, Free State, South Africa
edited 9:35AM 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

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.