Report builder wrapper question...
Posted: Sun Oct 09, 2005 6:55 pm
I'm evalutating RichView ReportBuilder Wrapper V1.6 with Reportbulder 7.0x. Seems to work fine.
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:
As you can see, a field named "WerbetextRTF" shall return then rtf-text from component Form_Konfiguration.Richtext_AAW_Werbung1.Rve.
This function is working well, when I use a standard DBRichText field, but not when I use a DBRichview component.
Any idea about it?
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?