The detail band
The detail band displays the retrieved data. It is also where
the user enters new data and updates existing data. The number of
rows of data that display in the DataWindow object at one time is
determined by the following expression:
1 |
(Height of the DataWindow object– Height of headers and footers) / Height of the detail band |
The presentation style determines the contents of the detail
band:
If the presentation style is Tabular, Grid, N-Up, or Label,
the detail band displays column names, representing the
columns
If the presentation style is Freeform, the labels defined for
the columns in the Database painter display in the detail band with
boxes for the data to the right
How PowerBuilder names the columns in the Design
view
If the DataWindow object uses one table, the names of the
columns in the Design view are the same as the names in the
table.
If the DataWindow object uses more than one table, the names
of the columns in the Design view are tablename_columnname.
PowerBuilder prefaces the name of the column with the table name
to prevent ambiguity, since different tables can have columns with
the same name.
When you design the detail band of a DataWindow object, you
can specify display and validation information for each column of
the DataWindow object and add other controls, such as text,
pictures, graphs, and drawing controls.