Specifying Join Conditions for Secondary Tables
When you work with secondary tables, you can specify join conditions by selecting parameters from controls in the Edit Table form. For more complex join conditions, you can specify the join conditions manually.
To specify join conditions by selecting parameters:
- In the IDO Tables form, click or to add or edit a secondary table. The Edit Table or New Table form is displayed.
- In the first Join Conditions field, select the column in the current table being joined to.
- In the second Join Conditions field, select the table being joined.
- In the third Join Conditions field, select the column being joined.
- Click to display the conditions in the large edit box.
- Click .
To manually enter join conditions:
- In the IDO Tables form, click or to add or edit a secondary table. The Edit Table or New Table form is displayed.
- Specify your join conditions as a SQL SELECT statement in the large edit box. If necessary, you can use the three Join Conditions fields to select columns and tables and insert them as parameters in your SQL statement. The parameters are inserted as AND statements.
- Click .