You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# DevExpress VCL Reports - Store Report Layouts in a Database
8
7
9
-
This example stores a [report layout](https://docs.devexpress.com/VCL/dxReport.TdxReport.Layout) (XML-based template) in the BLOB field of a memory-based dataset ([TdxMemData](https://docs.devexpress.com/VCL/dxmdaset.TdxMemData) inherited from the [TDataSet](https://docwiki.embarcadero.com/Libraries/Athens/en/Data.DB.TDataSet) class shipped with the standard VCL library).
8
+
# DevExpress Reports for Delphi/C++Builder – Store Report Layouts in a Database
10
9
11
-
## Testing the example
10
+
This example application stores [DevExpress report layouts][TdxReport.Layout] in a database.
11
+
The application allows users to create and save report layouts, modify existing layouts, and open layouts in Report Designer/Viewer.
12
+
13
+
14
+
The example uses a memory-based dataset as the database used to store layouts.
15
+
The dataset is based on the [TdxMemData] component from the DevExpress library,
16
+
inherited from the [TDataSet] class shipped with the standard VCL library.
17
+
18
+
## Test the Example
12
19
13
20
* Run the sample app and click **New Report** to create an empty database record.
14
-
* Click **Show Designer** to display the [Report Designer](https://docs.devexpress.com/XtraReports/119176/web-reporting/web-end-user-report-designer) dialog.
21
+
* Click **Show Designer** to display the [Report Designer][dx-report-designer] dialog.
15
22
* Create a report layout using tools available within the UI.
16
23
* Click the hamburger button, select the **Save** option, and close the dialog.
17
-
* Close the app. The [TdxMemData](https://docs.devexpress.com/VCL/dxmdaset.TdxMemData) component will store layout data between sessions.
18
-
* Run the sample app again. Click **View Designer** to load the saved report layout, or **View Report** to preview a layout-based report in the [Report Viewer](https://docs.devexpress.com/XtraReports/401850/web-reporting/web-document-viewer) dialog.
24
+
* Close the app. The [TdxMemData] component will store layout data between sessions.
25
+
* Run the sample app again. Click **View Designer** to load the saved report layout, or **View Report** to preview a layout-based report in the [Report Viewer][dx-report-viewer] dialog.
0 commit comments