But I'm not getting it work with a JIT Pipeline delivering data.
A formatted text from a normal tRichView Komponent on a form should be available within reports.
I'm tunneling that text data to the report through a JITPipeline from reportbuilder.
That's my sample code:
Code: Select all
function TForm_AAW_Print.ppJITPipeline_AAW_WerbungGetFieldValue(
aFieldName: String): Variant;
var StrS : TStringStream;
begin
Result:='';
if afieldname='' then Exit;
If afieldname='WerbetextRTF' then
Begin
StrS := TStringStream.Create('');
try
Form_Konfiguration.Richtext_AAW_Werbung1.Rve.SaveRTFToStream(StrS,False);
Result := StrS.DataString;
finally
StrS.Free;
end;
End;
end;
This function is working well, when I use a standard DBRichText field, but not when I use a DBRichview component.
Any idea about it?