Skip to content

Commit a23ce1e

Browse files
committed
delphi: Use the new Parameters.LoadFromLayout method
LoadFromReportLayout is deprecated in 25.2.5
1 parent 269f9d9 commit a23ce1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Delphi/PDFReportGenerator.dpr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ begin
3939
AConnection.ConnectionString := 'XpoProvider=SQLite; Data Source=nwind.db; Mode=ReadOnly';
4040

4141
// Step 3: Define Report Parameter Values
42-
AReport.LoadParametersFromReport;
42+
AReport.Parameters.LoadFromLayout;
4343
// Set the "OrderIdParameter" value in the report layout
4444
AReport.Parameters['OrderIdParameter'].Value := AOrderID;
4545

0 commit comments

Comments
 (0)