Skip to content

Commit 588f53b

Browse files
Apply suggestions from code review
Co-authored-by: Dmitry Eliseev <81766219+dmitry-eliseev-devexpress@users.noreply.github.com>
1 parent fa5c2eb commit 588f53b

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,18 +86,18 @@ To modify parameters, load them using the `LoadParametersFromReport` method and
8686
```pas
8787
// Step 3: Define Report Parameter Values
8888
AReport.LoadParametersFromReport;
89-
// Set the value of the "OrderIdParameter" parameter in the report layout
89+
// Set the "OrderIdParameter" value in the report layout
9090
// AReportParameter: TdxReportParameter;
9191
for AReportParameter in AReport.Parameters do
9292
if AReportParameter.Name = 'OrderIdParameter' then
9393
AReportParameter.Value := '11077';
9494
```
9595

9696

97-
### Step 4: Export and Save to a File
97+
### Step 4: Export and Save Report Content to a File
9898

99-
Once you have configured a report and a data source, and defined report parameters.
100-
you can export a report to one or more formats.
99+
Once a report layout is configured (including data binding and parameters),
100+
you can export reports in any supported format.
101101

102102
The current example exports a PDF report and saves it to a file:
103103

@@ -117,7 +117,7 @@ end;
117117

118118
### Export Multiple Reports
119119

120-
Headless approach allows you to efficiently export multiple reports using the same layout and data, but different parameter combinations.
120+
The technique demonstrated in this example allows you to generate and export different reports based on the same layout and data using different parameter combinations.
121121
Repeat steps 3 and 4 for each parameter combination.
122122

123123
**Delphi:**
@@ -138,7 +138,7 @@ for OrderID in OrderIDList:
138138
## Files to Review
139139

140140
- [`Delphi/PDFReportGenerator.dpr`](./Delphi/PDFReportGenerator.dpr) generates a report in headless (non-GUI) mode.
141-
- [`Order.repx`](./Order.repx) contains a report layout which produces a customer order report.
141+
- [`Order.repx`](./Order.repx) contains a report layout designed to generate a customer order report.
142142
You view and edit this file using the [file storage example application](https://github.com/DevExpress-Examples/vcl-reports-store-layout-template-file).
143143
- [`nwind.db`](./nwind.db) contains the Northwind example database.
144144

0 commit comments

Comments
 (0)