-
Notifications
You must be signed in to change notification settings - Fork 68
fix T1327096 #268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
fix T1327096 #268
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
b2b1ec5
fix T1327096
ritazakhodyaeva 2ceed17
Update eud-for-devexpress-reports/reporting-for-desktop/report-design…
ritazakhodyaeva 3e1cd1c
Update eud-for-devexpress-reports/reporting-for-desktop/report-design…
ritazakhodyaeva eb9d04c
Update eud-for-devexpress-reports/reporting-for-desktop/report-design…
ritazakhodyaeva a0cf87b
Update eud-for-devexpress-reports/reporting-for-desktop/report-design…
ritazakhodyaeva e7d2b8d
Update eud-for-devexpress-reports/reporting-for-web/report-designer/c…
ritazakhodyaeva 0377b98
Update eud-for-devexpress-reports/reporting-for-desktop/report-design…
ritazakhodyaeva 8e0a134
Update eud-for-devexpress-reports/reporting-for-web/report-designer/c…
ritazakhodyaeva 4c1e18b
Update eud-for-devexpress-reports/reporting-for-web/report-designer/c…
ritazakhodyaeva c317e1e
Update eud-for-devexpress-reports/reporting-for-web/report-designer/c…
ritazakhodyaeva 31adbab
Update eud-for-devexpress-reports/reporting-for-web/report-designer/c…
ritazakhodyaeva bfb3646
Update eud-for-devexpress-reports/reporting-for-desktop/report-design…
ritazakhodyaeva File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
77 changes: 42 additions & 35 deletions
77
...r-for-winforms/create-reports/master-detail-reports-with-detail-report-bands.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,36 +1,43 @@ | ||
| --- | ||
| title: Master-Detail Reports with Detail Report Bands | ||
| author: Anna Gubareva | ||
| --- | ||
| # Master-Detail Reports with Detail Report Bands | ||
|
|
||
| This tutorial illustrates how to display hierarchical data in a master-detail report using nested [Detail Report bands](../introduction-to-banded-reports.md). This approach is effective if your data source contains master-detail relationship. Another way is described at [Master-Detail Reports with Subreports](master-detail-reports-with-subreports.md). | ||
|
|
||
| 1. [Create a new report](../add-new-reports.md) or [open an existing one](../open-reports.md). | ||
|
|
||
| 2. [Bind the report](../bind-to-data.md) to a required data source and provide it with a master-detail relationship as described in the [Bind a Report to a Database](../bind-to-data/bind-a-report-to-a-database.md) topic. | ||
|
|
||
| 3. Drop the required data fields from the [Field List](../report-designer-tools/ui-panels/field-list.md) onto the [Detail](../introduction-to-banded-reports.md) band. | ||
|
|
||
|  | ||
|
|
||
| 4. Create a [Detail Report Band](../introduction-to-banded-reports.md) by right-clicking the report's surface. In the invoked context menu, select **Insert Detail Report**, and then, select the master-detail relationship's name. | ||
|
|
||
|  | ||
|
|
||
| This sets the detail report's **Data Source** and **Data Member** properties automatically. | ||
|
|
||
|  | ||
|
|
||
| 5. Switch to the **Field List**, select the data fields while holding down CTRL or SHIFT and drag-and-drop them onto the Detail band. | ||
|
|
||
|  | ||
|
|
||
| > [!NOTE] | ||
| > You should drag-and-drop fields from the category corresponding to the master-detail relationship to correctly generate the detail report's data. Otherwise, the report will display only the first record of the detail table as many times as there are records in this table. | ||
|
|
||
| 6. If required, customize the report's [appearance](../customize-appearance.md) and [format values](../shape-report-data/format-data.md). | ||
|
|
||
| Switch to [Print Preview](../preview-print-and-export-reports.md) to see the resulting report. | ||
|
|
||
| --- | ||
| title: Master-Detail Reports with Detail Report Bands | ||
| author: Anna Gubareva | ||
| --- | ||
| # Master-Detail Reports with Detail Report Bands | ||
|
|
||
| This tutorial illustrates how to display hierarchical data in a master-detail report using nested [Detail Report bands](../introduction-to-banded-reports.md). This approach is effective if your data source contains master-detail relationship. Another way is described at [Master-Detail Reports with Subreports](master-detail-reports-with-subreports.md). | ||
|
|
||
| 1. [Create a new report](../add-new-reports.md) or [open an existing one](../open-reports.md). | ||
|
|
||
| 2. [Bind the report](../bind-to-data.md) to a required data source and provide it with a master-detail relationship as described in the [Bind a Report to a Database](../bind-to-data/bind-a-report-to-a-database.md) topic. | ||
|
|
||
| 3. Drop the required data fields from the [Field List](../report-designer-tools/ui-panels/field-list.md) onto the [Detail](../introduction-to-banded-reports.md) band. | ||
|
|
||
|  | ||
|
|
||
| 4. Create a [Detail Report Band](../introduction-to-banded-reports.md) by right-clicking the report's surface. In the invoked context menu, select **Insert Detail Report**, and then, select the master-detail relationship's name. | ||
|
ritazakhodyaeva marked this conversation as resolved.
Outdated
|
||
|
|
||
|  | ||
|
|
||
| This sets the detail report's **Data Source** and **Data Member** properties automatically. | ||
|
ritazakhodyaeva marked this conversation as resolved.
Outdated
|
||
|
|
||
|  | ||
|
|
||
| 5. Switch to the **Field List**, select the data fields while holding down CTRL or SHIFT and drag-and-drop them onto the Detail band. | ||
|
ritazakhodyaeva marked this conversation as resolved.
Outdated
|
||
|
|
||
|  | ||
|
|
||
| Drag fields from the data category that matches the current detail level (the table specified in the most inner report’s DataMember). This ensures that each detail record is displayed correctly. | ||
|
ritazakhodyaeva marked this conversation as resolved.
Outdated
|
||
|
|
||
| You can display parent values in a detail row using expressions (for example, [Categories.CategoryName]). If a field is not found at the current level, the expression engine automatically resolves it from the parent level. | ||
|
ritazakhodyaeva marked this conversation as resolved.
Outdated
|
||
|
|
||
| However: | ||
|
|
||
| - If multiple levels contain the same field path, the result may be ambiguous and a value from an unexpected level can be used. | ||
| - If you use a field from another table within the same data source, the first record from that table will be shown for all rows. | ||
| - If you use a field from a different data source, no data will be displayed. | ||
|
|
||
| 6. If required, customize the report's [appearance](../customize-appearance.md) and [format values](../shape-report-data/format-data.md). | ||
|
|
||
| Switch to [Print Preview](../preview-print-and-export-reports.md) to see the resulting report. | ||
|
|
||
|  | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.