Joining tables

If the report will contain data from more than one table, you should join the tables on their common columns. If you have selected more than one table, InfoMaker joins columns according to whether they have a key relationship:

InfoMaker links joined tables in the SQL Select painter Table Layout view. InfoMaker joins can differ depending on the order in which you select the tables, and sometimes the InfoMaker best-guess join is incorrect, so you may need to delete a join and manually define a join.

StepsTo delete a join:

  1. Click the join operator connecting the tables.

    The Join dialog box displays.

  2. Click Delete.

StepsTo join tables:

  1. Click the Join button in the PainterBar.

  2. Click the columns on which you want to join the tables.

  3. To create a join other than an equality join, click the join operator in the Table Layout view.

    The Join dialog box displays:

    The sample shows the Join dialog box, listing all available join operators.
  4. Select the join operator you want and click OK.

    If your DBMS supports outer joins, and the Allow Cross Product option is set in the Query Governor, outer join options also display in the Join dialog box.