Hi Write an onbeforeprint event for the report component.
ie
procedure TForm1.frReport1BeforePrint(Memo: TStringList; View: TfrView);
begin
if View.Name = 'RxRich1' then
TfrRxRichView(View).RichEdit.Lines.LoadFromFile('C:\D3Projects\fr245check\loadrtf\reports\new.rtf');
the above sample uses rx rich edit just drop the rx if using fr's richedit
you can also search the forum for richedit and find another method.
regards
Comments
ie
procedure TForm1.frReport1BeforePrint(Memo: TStringList; View: TfrView);
begin
if View.Name = 'RxRich1' then
TfrRxRichView(View).RichEdit.Lines.LoadFromFile('C:\D3Projects\fr245check\loadrtf\reports\new.rtf');
the above sample uses rx rich edit just drop the rx if using fr's richedit
you can also search the forum for richedit and find another method.
regards
It works.