Presentation styles and data sources
When you define a DataWindow object, you choose a presentation
style and a data source.
Presentation styles
A presentation style defines a typical style of report and handles
how rows are grouped on the page. You can customize the way the data is
displayed in each presentation style. The presentation styles
include:
Presentation style |
Description |
---|---|
Tabular |
Data columns across the page and headers above each |
Freeform |
Data columns going down the page with labels next |
Grid |
Row-and-column format like a spreadsheet with grid |
Label |
Several labels per page with one row for each |
N-Up |
Two or more rows of data next to each other across |
Group |
A tabular style with rows grouped under headings. |
TreeView |
A tabular style that groups data hierarchically and |
Composite |
Several DataWindow objects grouped into a single |
Graph |
Graphical presentation of data. |
Crosstab |
Data summary in a row-and-column |
RichText |
Paragraphs of text with embedded data |
OLE |
An OLE object linked or embedded in the DataWindow |
For examples of the presentation styles, see the section called “Choosing a presentation style” in Users Guide.
Data sources
The data source specifies where the data in the DataWindow comes
from and what data items are displayed. Data can come from tables in a
database, a Web service, a file with data that you can import, or code
that specifies the data. For databases, the data specification is saved
in a SQL statement. In all cases, the DataWindow object saves the names
of the data items to display, as well as their datatypes.
Data source |
Description |
---|---|
Quick Select |
The data is coming from one or more tables in a |
SQL Select |
You want more control over the select statement |
Query |
The data has already been selected and the |
External |
The data is not stored in a database, but is |
Stored Procedure |
The data is defined in a database stored |
Web Service |
The data is defined in a Web service. Support for a |