Retrieving data

When you retrieve data in the Database painter, what you see is actually a DataWindow object. The formatting style you pick for retrieval corresponds to a type of DataWindow object (grid, tabular, or freeform). In a grid display, you can drag the mouse on a column's border to resize the column.

Figure 16-10: Retrieving data in grid format

The sample Results view is a grid Data Window with columns for Customer I D, First Name, Last Name, Address, City, State, Zip Code, and Phone Number. The scrollable results area shows thirteen rows of data.

StepsTo retrieve data:

  1. In the Database painter, select the table or database view whose data you want to manipulate.

  2. Do one of the following:

    All rows are retrieved and display in the Results view. Exactly what you see in the Results view depends on the formatting style you picked.

    As the rows are being retrieved, the Retrieve button in PainterBar3 changes to a Cancel button. You can click the Cancel button to stop the retrieval.

    When results are retrieved, only a few rows of data display at a time. In freeform format, a single row of data displays. You can use the First, Prior, Next, and Last buttons in PainterBar3 to page through the rows of data.