Glossary Item Box
ActiveReports allows you to create Master Detail reports with data from an XML database.
This walkthrough illustrates how to create a Master Detail report using XML data and grouping.
This walkthrough is split up into the following activities:
To complete the walkthrough, you must have access to the XML Customer database (Customer.xml).
When you have completed this walkthrough, you will have a report that looks similar to the following.
To add an ActiveReport to your project
To connect the report to a data source
To add controls to the report
Control | DataField | Name | Text/Caption | Location |
---|---|---|---|---|
Label | (Empty string) | lblID | ID | 0, 0 |
Label | (Empty string) | lblEmailAddress | E-mail Address | 2, 0 |
Label | (Empty string) | lblName | Name | 4, 0 |
TextBox | ../../@id | txtID | ID | 0, 0.25 |
TextBox | txtEmail | 2, 0.25 | ||
TextBox | ../../@NAME | txtName | Name | 4, 0.25 |
Control | DataField | Name | Text/Caption | Location |
---|---|---|---|---|
TextBox | ../NUMBER | txtNumber | Number | 1, 0 |
TextBox | ../DATE | txtDate | Date | 4.510, 0 |
Control | DataField | Name | Text/Caption | Misc Details | Location |
---|---|---|---|---|---|
Label | (Empty string) | lblISBN | ISBN | (Empty string) | 0, 0 |
Label | (Empty string) | lblBookTitle | Book Title | (Empty string) | 1.437, 0 |
Label | (Empty string) | lblPrice | Price | (Empty string) | 5.458, 0 |
Label | (Empty string) | lblAuthor | Author | (Empty string) | 3.187, 0 |
Label | (Empty string) | lblPublisher | Publisher | (Empty string) | 4.312, 0 |
TextBox | @isbn | txtISBN | ISBN | (Empty string) | 0.0625, 0.312 |
TextBox | TITLE | txtTitle | Title | (Empty string) | 1.437, 0.312 |
TextBox | AUTHOR | txtAuthor | Author | (Empty string) | 3.187, 0.312 |
TextBox | PUBLISHER | txtPublisher | Publisher | (Empty string) | 4.312, 0.312 |
TextBox | PRICE | txtPrice | Price | OutputFormat = Currency | 5.437, 0.312 |
Control | DataField | Name | Text/Caption | Misc Details | Location |
---|---|---|---|---|---|
Label | (Empty string) | lblSubtotal | Subtotal | (Empty string) | 3, 0 |
TextBox | PRICE | txtSubtotal | Subtotal | OutputFormat = Currency
SummaryType = SubTotal SummaryGroup = ghOrders |
4, 0 |
To view the report
See Also |
Samples | Walkthroughs | OutputFormat Strings
Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.