show label1 caption in frxReport my memo box
hello
when i click on my button in project with this code:
frxReport1.ShowReport;
i can see my form print with my filter.
i insert an memo in frxReport1.DesignReport;
now i want if i use frxReport1.ShowReport; , my memo string in design form for print in fast report print form designer, show label1. caption in my project.
of course i connected my frxReport1 to my adotable database and i can when click print button all data in report form with fast report. but i want filter count in project also show in my memo in print form.
thanks
when i click on my button in project with this code:
frxReport1.ShowReport;
i can see my form print with my filter.
i insert an memo in frxReport1.DesignReport;
now i want if i use frxReport1.ShowReport; , my memo string in design form for print in fast report print form designer, show label1. caption in my project.
of course i connected my frxReport1 to my adotable database and i can when click print button all data in report form with fast report. but i want filter count in project also show in my memo in print form.
thanks
Comments
you can also add a delphi form to the code page and you can access the properties of that forms objects but not variables.
for me please tell me more about
i'm await...
thanks
thanks
procedure TForm1.PrintReport1Click(Sender: TObject);
var
Memo1: TfrxMemoView;
begin
frxReport1.LoadFromFile('test.fr3');
Memo1 := frxReport1.FindObject('Memo1') as TfrxMemoView;
Memo1.Text := Edit1.Text;
frxReport1.ShowReport;
end;
Enjoy it!