Skip to content

Commit 92d6def

Browse files
Create README.md
1 parent 6515808 commit 92d6def

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# DevExpress VCL Reports - Store report layouts in a database
2+
3+
This example demonstrates how to store a [report layout](https://docs.devexpress.com/VCL/dxReport.TdxReport.Layout) (XML-based template) in a dataset.
4+
5+
<img width="2601" height="1466" alt="vcl-reports-tdxreport-template-designer@2x" src="https://github.com/user-attachments/assets/b1896095-f743-477e-b1c2-b5f8771f0d80" />
6+
7+
The example stores a saved report layout in a BLOB field of a memory-based dataset component ([TdxMemData](https://docs.devexpress.com/VCL/dxmdaset.TdxMemData) inherited from the standard [TDataSet](https://docwiki.embarcadero.com/Libraries/Athens/en/Data.DB.TDataSet) class shipped with the VCL library).
8+
9+
## Testing the example
10+
11+
* Click **New Report** to create an empty database record.
12+
* Click **Show Designer** to display the [Report Designer](https://docs.devexpress.com/XtraReports/119176/web-reporting/web-end-user-report-designer) dialog.
13+
* Create a report layout using any tools available in the UI.
14+
* Click the hamburger button and select the **Save** option and close the dialog.
15+
* Click **View Designer** or **View Report** to load the saved report layout or preview a layout-based report in the [Report Viewer](https://docs.devexpress.com/XtraReports/401850/web-reporting/web-document-viewer) dialog.
16+
17+
## Documentation
18+
19+
* [TdxReport.Layout Property](https://docs.devexpress.com/VCL/dxReport.TdxReport.Layout)
20+
* [TdxReportDataSetJSONConnection Component](https://docs.devexpress.com/VCL/dxReport.ConnectionString.JSON.DB.TdxReportDataSetJSONConnection)

0 commit comments

Comments
 (0)