Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

About reports – PB Docs 70 – PowerBuilder Library

About reports – PB Docs 70

About reports

Reports provide many ways for you to present data. You may
want a tabular report with rows and columns of information. Sometimes
a graph or a crosstab is a better way to present the data.

A PowerBuilder report can also be mailing labels or many reports
nested together on the same page. Freeform PowerBuilder reports let
you place text, data, lines, boxes, and pictures anywhere you want.
This means you can be very creative.

note.gif Reports versus DataWindow objects Reports and DataWindow objects are the same objects. When
you create a report, you are actually creating a DataWindow object
that you can open and modify in the DataWindow painter. However
a report is not updatable and can only be used to present data.

Report examples

Following are sample PowerBuilder reports that use data from
the EAS Demo DB.

Tabular report

The tabular report is the most common kind of report. You
use it for presenting information in rows and columns. This is a
basic tabular report:

defin04.gif

A more advanced tabular report

This tabular report includes a column computed from other
columns (Salary Plus Benefits) and special enhancements such as
the Confidential
watermark:

defin05.gif

Grouped report

This Group style report groups by department and lists employees
and salaries. It also includes a subtotal and a grand total for
the salary column:

defin06.gif

Grid report

This grid report looks very much like a tabular report. However,
the grid is a rigid structure of rows and columns. You can change
the column width and reorder the columns while you are viewing retrieved
data. The grid report is useful for ad hoc reporting:

defin07.gif

Report and graph

This report lists the salary totals by department. The graph
presents the same data in a visual way, which makes it easier to
see the relative cost of personnel in the five departments:

defin08.gif

Freeform report

This freeform report presents all of the information about
employees, one at a time. You can move the information around easily
until you get what you want. The bitmap in the background marks
the information as confidential:

defin09.gif

Mailing labels

These mailing labels use the name and address information
from the employee table and a bitmap to mark them with a logo:

defin10.gif

N-up report

This n-up report shows four rows of information next to each
other. Similar to the freeform report, n-up is useful for fitting
more information on the page. N-up is also useful for presenting
periodic information, such as data that repeats for Monday through
Friday (five blocks):

defin11.gif

Crosstab

This crosstab report counts the number of employees that fit
into each cell. For example, there are three employees in department
100 who make between $30,000 and $39,999:

defin12.gif

Composite report with nested reports

This composite report consists of three nested tabular reports.
One of the tabular reports includes a graph. Composite reports are
a way to show different reports together on the same page:

defin13.gif

Freeform report with a nested report

This freeform report lists all information about a customer
and includes a related nested report that lists all the orders that
belong to the customer. This is an example of a master/detail
relationship–one customer has many orders:

defin14.gif


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x