Difference between revisions of "Reports Workspace"

From Lianjapedia
Jump to: navigation, search
(Grouping)
(Data Source)
 
(10 intermediate revisions by the same user not shown)
Line 15: Line 15:
  
 
==Data Source==
 
==Data Source==
 +
The '''Data Source''' settings allow the ODBC or native Lianja data source to be configured.
 +
 
{| class="wikitable" width="100%"
 
{| class="wikitable" width="100%"
 
!width="15%"|Setting
 
!width="15%"|Setting
Line 48: Line 50:
  
 
==Page Layout==
 
==Page Layout==
 +
The '''Page Layout''' settings determine the layout when the report is printed.
 +
 
{| class="wikitable" width="100%"
 
{| class="wikitable" width="100%"
 
!width="15%"|Setting
 
!width="15%"|Setting
Line 62: Line 66:
 
|-
 
|-
 
|valign="top"|Rows per page
 
|valign="top"|Rows per page
|valign="top"|
+
|valign="top"|3
 
|valign="top"|The number of rows to display per page when printing the report.
 
|valign="top"|The number of rows to display per page when printing the report.
 
|-
 
|-
Line 92: Line 96:
  
 
==Grouping==
 
==Grouping==
 +
The '''Grouping''' settings determine the optional grouping and sort order columns for the report.  These include options to allow the end user to select from a specified list of columns.
 +
 
{| class="wikitable" width="100%"
 
{| class="wikitable" width="100%"
 
!width="15%"|Setting
 
!width="15%"|Setting
Line 114: Line 120:
 
|-
 
|-
 
|}
 
|}
 +
 +
Here the ''employees'' report has been altered to specify the '''Group By List''' as:
 +
 +
<pre>reportsto|lastname</pre>
 +
 +
and the '''Sort By List''' as:
 +
 +
<pre>lastname|firstname</pre>
 +
 +
The user can select from the lists to change the grouping and sort order columns active in the report.
 +
[[{{ns:file}}:grouping.png|800px|left|border|link={{filepath:grouping.png}}|Report Builder Grouping]]
 +
<br clear=all>
  
 
==Header==
 
==Header==
 +
The '''Header''' settings allow the main and sub headings to be configured.
 +
 
{| class="wikitable" width="100%"
 
{| class="wikitable" width="100%"
 
!width="15%"|Setting
 
!width="15%"|Setting
Line 122: Line 142:
 
|-
 
|-
 
|valign="top"|Main Heading
 
|valign="top"|Main Heading
|valign="top"|
+
|valign="top"|{reportname} report for user {username}
|valign="top"|
+
|valign="top"|The main heading shown when the report is printed.  For the default main heading, the '''{}''' macros are expanded to display the reportname and current username.
 
|-
 
|-
 
|valign="top"|Sub-Heading
 
|valign="top"|Sub-Heading
 
|valign="top"|
 
|valign="top"|
|valign="top"|
+
|valign="top"|A sub-header shown in both the on-screen and printed report.
 
|-
 
|-
 
|valign="top"|Header Height
 
|valign="top"|Header Height
 
|valign="top"|
 
|valign="top"|
|valign="top"|
+
|valign="top"|The height of the '''Main Heading''' in pixels.
 
|-
 
|-
 
|valign="top"|Header Image
 
|valign="top"|Header Image
Line 144: Line 164:
  
 
==Detail==
 
==Detail==
 +
The '''Detail''' settings allow the display of individual columns to be configured.
 +
 
{| class="wikitable" width="100%"
 
{| class="wikitable" width="100%"
 
!width="15%"|Setting
 
!width="15%"|Setting
Line 151: Line 173:
 
|valign="top"|Column
 
|valign="top"|Column
 
|valign="top"|
 
|valign="top"|
|valign="top"|
+
|valign="top"|Select the column to be configured from the pulldown.
 
|-
 
|-
 
|valign="top"|Column Expression
 
|valign="top"|Column Expression
Line 182: Line 204:
 
|-
 
|-
 
|valign="top"|Hyperlink
 
|valign="top"|Hyperlink
|valign="top"|
+
|valign="top"|False
 
|valign="top"|
 
|valign="top"|
 
|-
 
|-
 
|valign="top"|Sub-total
 
|valign="top"|Sub-total
|valign="top"|
+
|valign="top"|False
 
|valign="top"|
 
|valign="top"|
 
|-
 
|-
Line 192: Line 214:
  
 
==Footer==
 
==Footer==
 +
The '''Footer''' settings determine the display of the page footer when the report is printed.
 +
 
{| class="wikitable" width="100%"
 
{| class="wikitable" width="100%"
 
!width="15%"|Setting
 
!width="15%"|Setting
Line 198: Line 222:
 
|-
 
|-
 
|valign="top"|Footer Height
 
|valign="top"|Footer Height
|valign="top"|
+
|valign="top"|25
|valign="top"|
+
|valign="top"|The page footer height in pixels.
 
|-
 
|-
 
|valign="top"|Footer Image
 
|valign="top"|Footer Image

Latest revision as of 07:56, 15 August 2019

Under Construction. Coming soon in Lianja v5.0

Overview

Reports Workspace


Buttons

Reports Workspace


Reports

Select an existing report from the pulldown. Reports built in the Report Builder are saved to the Library reports directory so they can be used in multiple Apps. The Lianja App Builder distribution comes with some pre-built demo reports.

Report Builder


Data Source

The Data Source settings allow the ODBC or native Lianja data source to be configured.

Setting Required Description
Connection No The ODBC DSN for the data source. The pulldown lists available 32-bit ODBC DSNs.
Database Yes, unless Custom SQL is specified and references the database name, e.g. select * from southwind!shippers. The database for the data source. The pulldown lists available Lianja databases.
Table Yes, unless Custom SQL is specified The table for the data source. The pulldown lists tables from the specified Database.
Fields Yes, unless Custom SQL is specified The fields to be included from the Table. Click the [...] button to display the 'Choose fields' dialog. The default is * indicating all fields from the Table.
Filter No The filter condition to be applied to the records from the Table. Click the [...] button to display the 'Custom Query Builder'.
Custom SQL No, unless Table is not specified The SQL select query for the data source.

Once the Database and Table or Custom SQL have been specified, additional report configuration tabs are shown and the live report is displayed.

Page Layout

The Page Layout settings determine the layout when the report is printed.

Setting Default Description
Paper Size Letter Select the paper size to be used when printing the report. If Custom is selected, the dimensions can be specified in the Custom Paper Size.
Custom Paper Size The paper dimensions if Custom is selected as the Paper Size.
Rows per page 3 The number of rows to display per page when printing the report.
Row Height 0 (autosize) The row height in pixels when printing the report.
Show Grid Lines True Whether grid lines should be shown when printing the report.
Show Page Numbers True Whether page numbers (nPage of nPages) should be shown in the page footer when printing the report.
Page Top Margin 50 The height in pixels of the page top margin when printing the report.
Page Bottom Margin 0 The height in pixels of the page bottom margin when printing the report.
Show Date/Time True Whether the date and time should be shown in the page footer when printing the report.

Grouping

The Grouping settings determine the optional grouping and sort order columns for the report. These include options to allow the end user to select from a specified list of columns.

Setting Default Description
Group By The grouping column for the records in the report. A Sub-totals: footer will be displayed for each group. Individual columns can be flagged to be sub-totalled in the Detail report configuration tab.
Group By List A | separated list of columns that the user can select from to set the grouping for the records in the report.
Sort By The sort order column for the records in the report.
Sort By List A | separated list of columns that the user can select from to set the sort order for the records in the report.

Here the employees report has been altered to specify the Group By List as:

reportsto|lastname

and the Sort By List as:

lastname|firstname

The user can select from the lists to change the grouping and sort order columns active in the report.

Report Builder Grouping


Header

The Header settings allow the main and sub headings to be configured.

Setting Default Description
Main Heading {reportname} report for user {username} The main heading shown when the report is printed. For the default main heading, the {} macros are expanded to display the reportname and current username.
Sub-Heading A sub-header shown in both the on-screen and printed report.
Header Height The height of the Main Heading in pixels.
Header Image
Custom Header

Detail

The Detail settings allow the display of individual columns to be configured.

Setting Default Description
Column Select the column to be configured from the pulldown.
Column Expression
Heading
Alignment
Display Mask
Data Mapping
Dynamic BackColor
Dynamic ForeColor
Hyperlink False
Sub-total False

Footer

The Footer settings determine the display of the page footer when the report is printed.

Setting Default Description
Footer Height 25 The page footer height in pixels.
Footer Image
Custom Footer