Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > EOF Tools and Techniques

Table of Contents Previous Section

Using the Data Browser

You can use the Data Browser to display database records associated with an entity in the Model Editor.

To display an entity's records in the Data Browser, select an entity or a fetch specification and choose Tools Data Browser.

To browse the records associated with a different entity, select the entity icon in the Model Editor and drag it into the Entity well of the Data Browser.To view a subset of the attributes for an entity, select one or more attributes and choose Tools Data Browser.

You can rearrange the columns in the Browser by dragging their column heads to new positions. You can also resize columns by selecting their column heads and dragging the edges until the column is the desired size.

You can change the sorting order of the Browser by using the buttons in the lower right corner. By default, the data is displayed according to how it was returned from the database. You can sort on the first column in either ascending or descending order by clicking the appropriate sort button. So, for example, to sort the records alphabetically by the movie name in the Movie database, drag the title column into the first column of the Browser and click the ascending sort button. To restore the order of the data as it was returned from the database, click the default order button.

Table of Contents Next Section