Save reports to dababse
Hello
I??m using reportbuilder and I`m evaluating Fastreport VCL.
it??s posible to save and load reports tempalte from data base?, where can I find any example?
Thanks
I??m using reportbuilder and I`m evaluating Fastreport VCL.
it??s posible to save and load reports tempalte from data base?, where can I find any example?
Thanks
Comments
To Save
stream := TMemoryStream.Create;
TfrxReport.SaveToStream(stream);
stream.Position := 0;
(dataset.fieldByName('my_blob') as TBlobField).LoadFromStream(stream);
To Load:
stream := TMemoryStream.Create;
(dataset.fieldByName('my_blob') as TBlobField).SaveToStream(stream);
stream.Position := 0;
TfrxReport.LoadFromStream(stream);
Ok, Thanks
and how can I intercept save event report?