HOWTO: clear some fields after printing...
Hello
I have downloaded the fast report studio trial for testing.
I am trying a one page report with some <memoview> that have an envent onbuttonclick:
clicking on the field an inputbox let me to add data on every field.
That let me print the report with the submitted inputs.
Well, the page is printed I return on the form and logically old data are here.
Question: How to clear old values before showing new form?
I have tried following code but sending on printer cause interminable pages to print.
procedure ReportOnReportPrint(Sender: TfrxComponent);
begin
TfrxMemoView(Sender.FindObject('Memo1')).Text := ''; //perhaps--> Sender.FindObject('Memo1')).Clear ?
end;
Is that the exact event handler or not?
Another Q.
It is possible with the trial version to try the report on a enduser PC, how?
Thank you in advance for your cooperation.
Best Regards,
I have downloaded the fast report studio trial for testing.
I am trying a one page report with some <memoview> that have an envent onbuttonclick:
clicking on the field an inputbox let me to add data on every field.
That let me print the report with the submitted inputs.
Well, the page is printed I return on the form and logically old data are here.
Question: How to clear old values before showing new form?
I have tried following code but sending on printer cause interminable pages to print.
procedure ReportOnReportPrint(Sender: TfrxComponent);
begin
TfrxMemoView(Sender.FindObject('Memo1')).Text := ''; //perhaps--> Sender.FindObject('Memo1')).Clear ?
end;
Is that the exact event handler or not?
Another Q.
It is possible with the trial version to try the report on a enduser PC, how?
Thank you in advance for your cooperation.
Best Regards,