Chat now with support
Chat with Support

Toad for DB2 7.4 - Installation Guide

Browse Data in Related Tables

Use the Master Detail Browser to browse data in parent tables and drill-down to data in related child tables. This is useful when you need to analyze or edit data. For example, suppose you need to view a list of all Nick's Flix stores and the inventory of comedy movies at each store. Using the Master Detail Browser, you specify the table that contains the list of stores as the parent table and specify the table that contains comedy movies as the child table to quickly locate comedies and analyze the inventory.

To browse tables using the Master Detail Browser

  1. Select Tools | Master Detail Browser (ALT+T+A).

  2. Drag one or more tables from the Object Explorer, Object Search, or Project Manager window to the Diagram pane at the top of the Master Detail Browser. Press CTRL+click to select multiple tables at once.

    Notes:

    • A line between tables indicates any existing relationships between the selected tables.

    • At least one parent table (table without any join arrows pointing to it) must be added to the window or an error message displays when returning results.

  3. Join Columns. See Join Columns for more information.

  4. Select the checkbox beside each column you want to include.

    Note: Any columns included in a join are automatically included in the results.

  5. Click (F9) to retrieve data for the parent table initially. To view data in a child table, click + to the left of each row.

    or

    Click to retrieve data in the parent and child tables. If there is more than one child table, a tab displays for each child table.

  6. From the data grid, you can:

    • Edit the data and commit your changes to the database.

    • Right-click the data grid and select Send To | option to add the data to a report, chart, or pivot grid.

Tips:

  • Click to align tables and snap them to the grid.

  • Select the parent table from the drop-down list in the toolbar to view data for a parent table if there are multiple parent tables.

  • Click X on the table you want to remove in the Diagram pane to remove a table and any conditions (e.g., join, where clause) associated with the table.

 

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating