File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ The current example imports a report layout from the `Order.repx` file.
3737
3838** Delphi:**
3939``` pas
40- // Step 1: Create a report instance and load the report layout
4140AReport := TdxReport.Create(nil); // AReport: TdxReport;
4241try
4342 // Set an internal report name (does not affect the exported content)
@@ -57,7 +56,6 @@ A VCL Report requires a data source implemented as a database connection compone
5756This example project creates a SQL connection component with a built-in SQLite engine to load the Northwind sample database stored in ` nwind.db ` .
5857
5958``` pas
60- // Step 2: Create a database connection
6159// AConnection: TdxBackendDatabaseSQLConnection;
6260AConnection := TdxBackendDatabaseSQLConnection.Create(nil);
6361try
@@ -84,7 +82,6 @@ To modify parameters, load them using the `LoadParametersFromReport` method and
8482
8583** Delphi:**
8684``` pas
87- // Step 3: Define Report Parameter Values
8885AReport.LoadParametersFromReport;
8986// Set the "OrderIdParameter" value in the report layout
9087// AReportParameter: TdxReportParameter;
@@ -103,7 +100,6 @@ The current example exports a PDF report and saves it to a file:
103100
104101** Delphi:**
105102``` pas
106- // Step 4: Export a report to PDF
107103AStream := TMemoryStream.Create; // AStream: TMemoryStream;
108104try
109105 // Export a report to PDF format and save it to a memory stream
You can’t perform that action at this time.
0 commit comments