Sometimes DataWindow objects contain columns whose data is of variable length. For example, a Memo column in a table might be a character column that can take up to several thousand characters. Reserving space for that much information for the column in the detail band would make the detail band's height very large, meaning you could see few rows at a time.
The detail band can resize based on the data in the Memo column. If the Memo column has only one line of text, the detail band should be one line. If the Memo column has 20 lines of text, the detail band should be 20 lines high.
To provide a detail band that resizes as needed, specify that the variable-length columns and the band have Autosize Height.
To create a resizable detail band in a DataWindow object:
Select Properties from the pop-up menu of a column that should resize based on the amount of data.
Select the Autosize Height check box on the Position page.
Clear the Auto Horz Scroll check box on the Edit page.
PocketBuilder wraps text in the Preview view instead of displaying text on one scrollable line.
Repeat steps 1 to 3 for any other columns that should resize.
Select Properties from the detail band’s pop-up menu.
Select the Autosize Height check box on the General page.
In the Preview view, the detail band resizes based on the contents of the columns you defined as having Autosize Height.