Page 1 of 1

Report Workshop 1.9 - DevExpress data provider

Posted: Sun Jun 10, 2018 7:39 pm
by Sergey Tkachenko
We updated TRichView, ScaleRichView and ReportWorkshop components.

Report Workshop includes a new TRVReportDxMemDataProvider data provider. This data provider allows building master-detail reports using TdxMemData datasets (which are included in DevExpress VCL library).
The Setup installs this data provider automatically, if DevExpress components are already installed.

TRVReportDxMemDataProvider works like TRVReportDBDataProvider, datasets must be added in its DataSets collection property and referred by their names (data queries are names of datasets).
But it also processes data queries with the following syntax:

Code: Select all

DataSetName, Field1=Value1, Field2=Value2, …
where
DataSetName is a name of dataset in the DataSets collection;
Field1, Field2, … are names of fields of this dataset;
Value1, Value2, … are required values of these fields.
The component supports integer, floating point, string (in single quotes) values, also true and false.


German translation of Report Workshop has been updated.

Re: Report Workshop 1.8 - DevExpress data provider

Posted: Sun Jun 10, 2018 7:41 pm
by Sergey Tkachenko
A new demo project for Report Workshop is added
ReportWorkshop\Demos\DevExpress\Master-detail\
It shows how to build a simple master/detail report using TRVReportDxMemDataProvider and two TdxMemData components.
DevExpress-Report-Demo.png
DevExpress-Report-Demo.png (29.11 KiB) Viewed 23651 times
The report is built in code.
Master data query: MemDataMaster
Detail data query: MemDataDetail, MasterID = '{ID}'
(where {ID} refers to the value of ID field of MemDataMaster; this is a string field, so we use single quotes)