Home General

Load a report from database.

what is the best way to load a template from a report stored in the rbitems table of the database ?. I am using the following lines of code, but it shows me a controlled message that informs me that the report does not exist.
ppReport.Template.DatabaseSettings.Name := pReportName;
ppReport.Template.DatabaseSettings.FolderId := pFolder;
ppReporteBase.Template.DatabaseSettings.DataPipeline := ppDBPipelineBase;
ppReporteBase.Template.LoadFromDatabase;

Comments

Sign In or Register to comment.