Skip to content

Commit 7fa54d0

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

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
[![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives)
55
<!-- default badges end -->
66

7-
# DevExpress VCL Reports — Generate a Report Using a Headless (non-GUI) Application
7+
# DevExpress VCL Reports — Generate Reports in a Headless (non-GUI) Application
88

9-
This example uses the DevExpress VCL Reports to generate a PDF report using a command line application.
9+
This example uses the DevExpress VCL Reports to generate a PDF report in a command line application.
1010
The example demonstrates the capabilities of VCL Reports for producing reports in backend applications, Windows services,
1111
or plain command line applications, all without the need for a GUI.
1212

13-
> ![Example of a PDF report produced by the command line application, showing customer order number 11077](./images/report.png)
13+
> ![A PDF report example generated by a command line application (demonstrates order number 11077)](./images/report.png)
1414
1515

1616
## Prerequisites
@@ -23,15 +23,15 @@ See: [DevExpress Reports Prerequisites](https://docs.devexpress.com/VCL/405773/E
2323

2424
## Implementation Details
2525

26-
By following the steps outlined in this example, you'll create an application that imports a report layout from a file,
27-
connects it with a data source, and exports a ready report to a PDF file.
26+
Follow the steps below to create an application that imports a report layout from a file,
27+
binds the layout to data, and exports the generated report to a PDF file.
2828

2929

3030
### Step 1: Initialize a Report and Import a Report Layout
3131

32-
An application needs a template report layout, created in the [Report Designer](https://docs.devexpress.com/VCL/405469/ExpressReports/vcl-reports).
32+
An application requires a template report layout created in the [Report Designer](https://docs.devexpress.com/VCL/405469/ExpressReports/vcl-reports).
3333
You can [import a report layout from a REPX file](https://github.com/DevExpress-Examples/vcl-reports-store-layout-template-file)
34-
or [read a layout from a database](https://github.com/DevExpress-Examples/vcl-reports-store-layout-template-database).
34+
or [load a layout from a database](https://github.com/DevExpress-Examples/vcl-reports-store-layout-template-database).
3535

3636
The current example imports a report layout from the `Order.repx` file.
3737

@@ -40,7 +40,7 @@ The current example imports a report layout from the `Order.repx` file.
4040
// Step 1: Create a report instance and load the report layout
4141
AReport := TdxReport.Create(nil); // AReport: TdxReport;
4242
try
43-
// Set an internal report name (does not affect the exported PDF content and file name)
43+
// Set an internal report name (does not affect the exported content)
4444
AReport.ReportName := 'OrderReport';
4545
// Load the report layout from the specified file
4646
AReport.Layout.LoadFromFile('..\Order.repx');
@@ -53,8 +53,8 @@ end;
5353

5454
### Step 2: Create a Database Connection
5555

56-
A VCL Report requires a source of data, which is usually represented by a database connection.
57-
The current example is using SQLite with the Northwind example database stored in `nwind.db`.
56+
A VCL Report requires a data source implemented as a database connection component.
57+
This example project creates a SQL connection component with a built-in SQLite engine to load the Northwind sample database stored in `nwind.db`.
5858

5959
```pas
6060
// Step 2: Create a database connection
@@ -63,15 +63,15 @@ AConnection := TdxBackendDatabaseSQLConnection.Create(nil);
6363
try
6464
// Assign a database name matching the name specified in the report layout
6565
AConnection.DisplayName := 'NWindConnectionString';
66-
// Assign a connection string to use the local SQLite database
66+
// Assign a connection string required to use the local SQLite database
6767
AConnection.ConnectionString := 'XpoProvider=SQLite; Data Source=..\nwind.db; Mode=ReadOnly';
6868
// ...
6969
finally:
7070
AConnection.Free;
7171
end:
7272
```
7373

74-
To learn more, follow the guide: [VCL Backend: Supported Database Systems](https://docs.devexpress.com/VCL/405703/ExpressCrossPlatformLibrary/vcl-backend/vcl-backend-supported-database-systems).
74+
For detailed information on data source management and supported database engines, refer to the following help topic: [VCL Backend: Supported Database Systems](https://docs.devexpress.com/VCL/405703/ExpressCrossPlatformLibrary/vcl-backend/vcl-backend-supported-database-systems).
7575

7676

7777
### Step 3: Define Report Parameter Values

0 commit comments

Comments
 (0)