
Step 8: Change labels and fields in the subform.
The subform is located at the bottom of the form. We want to widen the
Date column, change the field in the PaymentType column to a list box,
and change the label for the PaymentType column to two words.
To widen the Date column, move the mouse pointer over the dividing
line between the Date and FuelCost columns. When the pointer
changes shape, click and drag to move the divider to the right.
To change the PaymentType column:
1) Right-click the label PaymentType and choose Replace with >
List box from the menu.
2) Again right-click the label PaymentType to open the menu. Select
Column to open the Properties dialog (Figure 211).
3) In the Label box, change PaymentType to Payment Type.
4) Click the Data tab.
5) From the Type of list contents dropdown list, select Sql.
6) Type the following exactly as it is written:
SELECT "Type", "Type" FROM "Payment Type"
7) Close the Properties dialog.
Figure 211: Properties window for
control in a subform
Chapter 8 Getting Started with Base 279
Kommentare zu diesen Handbüchern