Report Workshop 1.9 - DevExpress data provider

News about TRichView and related components
Post Reply
Sergey Tkachenko
Site Admin
Posts: 14120
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Report Workshop 1.9 - DevExpress data provider

Post by Sergey Tkachenko » Sun Jun 10, 2018 7:39 pm

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.

Sergey Tkachenko
Site Admin
Posts: 14120
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Report Workshop 1.8 - DevExpress data provider

Post by Sergey Tkachenko » Sun Jun 10, 2018 7:41 pm

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 1107 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)

Post Reply