The purpose of the Report Designer wizard is to provide a fully integrated tool to create XMPro reports. DevExpress XtraReports are used to provide this functionality. Access the Report Designer from the XMWorkspace.
XMWorkspace
Open XMPro Report Designer
This procedure describes how to open the XMPro Report Designer.
- On the menu, click Manage > Report Designer in XMWorkspace. The XMPro Report Designer opens.
Create a New Report
A new report can be created by one of two methods as follows:
- New (Empty) Report
- New Report via Wizard
Create a New (Empty) Report
This procedure describes how to create a new (empty) report.
- Click New Report icon (by default the report is named XtraReport).
- Type the report name into the New Report Name text field.
- Click OK.
- Click Application Menu.
- (Not shown) Click Save icon. The Empty Report is shown in the previous figure.
Choose a Data Source
This procedure describes how to choose data source to bind a report to a database. A data source must be selected before you can use the Report Wizard.
- Click Application Menu.
- Click Data Source Editor icon. The Report Datasource Editor opens.
- Click Add in the Report DataSource Editor. The Data Source Editor opens.
- Select the relevant connection from the Connection drop-down in the Data Source Editor.
- Click Save.
- Select the new Data Source in the Report DataSource Editor.
- Click Add in the Queries column of the Report DataSource Editor.
- Select the relevant table from the list or type the name to search in the Query Editor.
- Click Save.
- Click Apply in the Report DataSource Editor.
Create a Data-Bound Report – Database
This procedure describes how to use an SQL data source to bind a report to a database.
- Click Application Menu.
- Click Report Wizard icon and the Report Wizard opens.
- Is there a Data Source available to use in your report?
- If YES, then continue with Step 4.
- If NO, then a data source must be provision using the Data Source Editor. Continue with Choose a Data Source.
- Choose a Data Source from the list to use in your report.
- Click Next.
- Select a table or view to be available in your report.
- Click Next.
- Select the columns that you want to display within in your report from the Available fields column.
- Click > to move the highlighted Available fields to the Selected fields column.
- Click Next.
- Select the fields from the Available fields list to be grouped.
- Click > to move the highlighted Available fields to the Groups column.
- Click Next.
- Choose the Report Layout (Portrait or Landscape) for your report.
- Click the Report Layout Format (Stepped, Outline 1, Outline 2, Align Left 1, or Align Left 2)
- Select the Adjust the field width so all fields fit onto a page check box.
- Click Next.
- Choose a report style (Bold, Casual, Corporate, Compact, or Formal).
- Click Next.
- Type the report title in the text field.
- Click Finish.
- Click Preview icon to preview the report.
- Click Application Menu and click Save icon to save the report.
Note: A report needs to be named before you can save the report.
XMPro Report Designer
User Report Controls
User report controls contain basic user functions, such as New Report, OpenReport, Delete Report, Download Report, Upload Report, and Refresh Reports. The following control types are available and listed as shown in the user interface from left to right.
Report Control |
Description |
|
New Report |
Displays a new report control that may be used to create a new report. Click to create a new empty report. |
|
Open Report |
Displays an open report control that may be used to open a selected report. Click to open the selected report. |
|
Delete Report |
Displays a delete report control that may be used to delete a selected report. Click to delete the selected report. |
|
Download Report |
Displays a download report control that may be used to download the displayed report. Click to download a displayed report with an “.repx” extension. |
|
Upload Report |
Displays an upload report control that may be used to upload a report that has an .repx file extension. Click to upload a report. |
|
Refresh Reports |
Displays a refresh control that may be used to refresh the reports listed. Click to refresh the reports listed. |
|
Collapse/Expand |
Displays a Collapse/Expand control. Click to collapse the listed reports or expand the listed reports. |
Standard Controls
A report control is an element that is intended to display specific information in your report, such as static or dynamic text, pictures, a bar code, a check box, etc.
The following control types are listed alphabetically.
Report Control |
Description |
|
Application Menu |
Displays an application menu control. Click to access to the following items:
- Run Wizard – Click to run the report wizard
- Save – Click to save the displayed report.
- Data Source Editor – Click to add, edit, or delete report data sources.
|
|
Bar Code |
Displays a bar code control on the report that may be used to insert different bar code types. |
|
Chart |
Displays a chart control on the report that may be used to represent data in a graphical view. |
|
Check Box |
Displays a standard check box control on the report that may be used to represent whether an item is selected or not. |
|
Cross-Band Box |
Displays a box control on the report that draws itself through the bands from the CrossBandControl.StartPoint in the CrossBandControl.StartBand to the CrossBandControl.EndPoint in the CrossBandControl.EndBand. |
|
Cross-Band Line |
Displays a line control on the report that draws itself through the bands from the CrossBandControl.StartPoint in the CrossBandControl.StartBand to the CrossBandControl.EndPoint in the CrossBandControl.EndBand. |
|
Data Source Editor |
Displays a data source editor control that allows for adding, editing, or deleting report data sources. Click to add, edit, or delete report data sources. |
|
Gauge |
Displays a gauge control on the report that imitates real-life gauges – circular, angular, linear, thermometer, digital, etc. |
|
Label |
Displays a label control on the report that allows the insertion of single-line or multiline text. This text may be either static or dynamically populated from a report’s data source. |
|
Line |
Displays a line control on the report that draws vertical, horizontal, or diagonal lines. |
|
Page Break |
Displays a page break control on the report that serves to mark the place where a report should start a new page. To break a page just before or after a particular band, you can also use the Band.PageBreak property of this band, instead of using this control. |
|
Page Info |
Displays a control on the report that displays some auxiliary information in a report. Use this control to display page numbers, the current date, or user information in your reports. |
|
Panel |
Displays a panel control on the report that can contain other report controls. Use it to group controls together for easier manipulation. |
|
Picture Box |
A picture box control that displays an image in a report. Use this control to insert images of different types in the reports. |
|
Pivot Grid |
A pivot grid control (also called a pivot table) that represents data from an underlying data source in a cross-tabulated form to create crosstab reports. |
|
Rich Text |
Displays a rich text control on the report that is intended to display, enter and manipulate formatted text. Text can be entered and formatted at design time, loaded from an external file, or binded to a data field. |
|
Run Wizard |
Displays a wizard control. Click to run the Reports Wizard. |
|
Save Report |
Displays a save control. Click to save the report based on Report File format. |
|
Shape |
Displays a shape control on the report that embeds simple graphics. |
|
Sparkline |
Displays a sparkline control on the report that may be used to represent inline data in a graphical view. |
|
Table |
Displays a rich text control on the report that is intended to display, enter and manipulate formatted text. Text can be entered and formatted at design time, loaded from an external file, or binded to a data field. |
|
Zip Code |
Displays a zip code control on the report that allows the insertion of numbers representing a zip code. |
Design Mode Report Controls
The design mode report controls are elements that are displayed when in the design mode. The following control types are listed alphabetically.
Preview Mode Report Controls
The preview mode report controls are elements that are displayed when in the preview mode. The following control types are listed alphabetically.
Report Control |
Description |
|
Design |
Displays a design control on the report. Click to return to report design mode. |
|
First Page |
Displays a first page control on the report. Click to navigate to the first page. |
|
Last Page |
Displays a last page control on the report. Click to navigate to the last page. |
|
Multipage Mode |
Displays a multipage mode control on the report. Click to display multiple pages. |
|
Next Page |
Displays a next page control on the report. Click to navigate to the next page. |
|
Open/Collapse |
Displays an open/collapse control on the report. Click to open or collapse the export options controls. |
|
Page Control |
Displays a page control on the report. Click to navigate to the selected page. |
|
Export Options |
Displays an export options control on the report. Click to access the following Export Options:
- CSV Export Options
- HTML Export Options
- IMAGE Export Options
- MHT Export Options
- PDF Export Options
- RTF Export Options
- TEXT Export Options
- XLS Export Options
- XLSX Export Options
|
|
Previous Page |
Displays a previous page control on the report. Click to navigate to the previous page. |
|
Save Preview Report |
Displays a save preview report menu control on the report. Click to save the previewed report in the selected file format to download. Based on the Export Control Options settings. |
|
Zoom Control |
Displays a Zoom Control on the report. Click the drop-down menu to change the page magnification. |
|
Zoom In |
Displays a Zoom In control on the report. Click the control to zoom in the page. |
|
Zoom Out |
Displays a Zoom Out control on the report. Click the control to zoom out the of page. |
Add Report Controls
This procedure describes how to add controls to a report.
- To add report controls to your report, drag an appropriate item from the Standard Controls menu.
- Drop it on a report’s surface as indicated in the previous figure.
- Click Properties icon. The properties of this control are provided in the Property Grid window. Change as required.
- Click Application Menu.
- Click Save icon.
Add Parameters
This procedure describes how to add parameters to a report.
- In Report Designer, click Fields icon.
- Click the Parameters section.
- Click Add Parameter icon.
- Click icon to edit the parameter properties.
- Provide a name, description, visible, type, look-up settings for the parameter and optionally a default value.
- Click OK.
- Click Application Menu.
- Click Save icon.
Rebuild Report Dataset
This procedure describes how to change data sources for a report. When the underlying data source changes, the Data Set needs to be rebuilt as follows:
- In Report Designer, click the Properties icon.
- Click DATA drop-down.
- Select a new Data Source from the Data Source drop-down.
- Select a new Data Member from the Data Member drop-down.
Open User Report
This procedure describes how to open a report in the XMWorkspace.
- From the XMWorkspace, click Insight > User Reports.
- Click the relevant report to view your design changes in the XMWorkspace, for example, Supplier List.
Report Toolbar and Controls
|
Print report |
Click to print the current report. |
|
Print current page |
Click to print the current page. |
|
First page |
Click to navigate to the first page. |
|
Previous page |
Click to navigate to the previous page. |
|
Page number |
Click to select the page number to display. |
|
Next page |
Click to navigate to the next page. |
|
Last page |
Click to navigate to the last page. |
|
Export report & save |
Click to export the report and save it to a disk based on Report File Format. |
|
Export report & show |
Click to export the report and show it in a new window based on Report File Format. |
|
Report file format |
Click to export the report as:
- Comma Separated Values (CSV)
- Excel Spreadsheet (XLS)
- Hypertext Markup Language (HTML)
- Office Open XML Spreadsheet (XLSX)
- Portable Document Format (PDF)
- Rich Text Format (RTF)
- Web Archive (MHT)
|
|
Email |
Click to email the PDF report using your default email client. |
|
Open Report |
Click to open the selected report. |
|
Refresh Reports |
Click to refresh the reports listed. |