Skip to content

Commit 9f79a7c

Browse files
Apply suggestions from code review
Co-authored-by: Dmitry Eliseev <81766219+dmitry-eliseev-devexpress@users.noreply.github.com> Co-authored-by: Nick Volynkin <nick.volynkin@gmail.com>
1 parent 3cb6fc7 commit 9f79a7c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
This example application stores [DevExpress report layouts][TdxReport.Layout] in a database.
1111
The application allows users to create new layouts, modify existing layouts using the built-in Report Designer,
12-
and save layout customizations to the data source.
12+
and save layout customization to the data source.
1313

1414

1515
## Prerequisites
@@ -26,12 +26,12 @@ and save layout customizations to the data source.
2626
1. Create a report layout using tools available within the UI.
2727
1. Click the hamburger button, select the **Save** option, and close the dialog.
2828
1. Close and restart the app.
29-
Click **Design Report** or **Preview Report** to load the saved report in the designer or [Report Viewer][dx-report-viewer].
29+
Click **Design Report** or **Preview Report** to load the saved report in the [Report Designer][dx-report-designer] or [Viewer][dx-report-viewer].
3030

3131
## Implementation Details
3232

3333
The example uses a DevExpress memory-based dataset as a report layout storage: [TdxMemData].
34-
You can modify the application to use any [TDataSet] descendant instead.
34+
You can modify the application to use any other [TDataSet] descendant instead.
3535
To review the data module implementation, see the following file: [uData.pas]/[uData.cpp].
3636

3737
The instructions assume that you start with a Delphi or C++Builder project that already includes
@@ -84,13 +84,13 @@ report name ([TdxReport.ReportName]) and layout ([TdxReport.Layout]):
8484
```pas
8585
procedure TMainForm.LoadReportNameAndLayout();
8686
begin
87-
// Ensure that the dataset has at least one layout record or is in the process of creating a record:
87+
// Ensure that the dataset has at least one record or a new record is being created:
8888
if (DataModule1.mdLayouts.RecordCount = 0) and not (DataModule1.mdLayouts.State = dsInsert) then
8989
begin
9090
ShowMessage('The database is empty');
9191
Exit;
9292
end;
93-
// Load the report name and layout from the database:
93+
// Load report name and layout from the database:
9494
dxReport1.ReportName := DataModule1.mdLayoutsName.AsString;
9595
dxReport1.Layout.Assign(DataModule1.mdLayoutsLayout);
9696
end;

0 commit comments

Comments
 (0)