Home Datapipelines
New Blog Posts: Merging Reports - Part 1 and Part 2

Newbie Help

edited November 2011 in Datapipelines
Hi all,

I have a ADOConnection, ADOTable, DataSet and ppDBPipeline all connected together and working perfectly. I use ADOTable.Filter / Filtered properties to filter the data shown within report. I also use a handful of different reports which use the same Dataset but with different degrees of detail.

Each report is called like...

PrepareFilters;
Report := TppReport.Create(Form1);
Report.PreviewFormSettings.WindowState := wsMaximized;
Report.DataPipeline := ppDBPipeline1;
Report.Template.FileName := ExtractFilePath(Application.ExeName) + '\Reports\Reportname.rtm';
Report.Template.LoadFromFile;
Report.PrintReport;
Report.Free;

This all works perfectly and as expected.

What I'd like to do is have Label / Variable / Parameter on the report whos value is set at Runtime. My aim is to have a description what the ADOTable is being filter on and print that on the report. I'm sure this must be possible, but having spent a reasonable amount of time on Google / Newsgroups / rbWiki I can't find the answer.

Any help will be gratefully received.

FYI I'm using Delphi 2010 with a Demo of ReportBuilder Standard 12.05, with the intention of purchasing in the next couple of weeks..

Also, I've I'm not doing this the most effective way, I'm happy to hear an alterative.

Kind regards

Steve Scotter

Comments

This discussion has been closed.