Editing the ODBC tables

Before you begin

It is recommended to read the following Help topics before editing the ODBC tables:

General editing rules

Observe the following editing rules:

images\def_chg.gif

Editing a single table

You can edit each table individually by simply double-clicking it in the database window and then changing the properties, as required.

However, in many cases you want to edit properties from multiple tables. See the description below.

Using queries to extract data

Let us take an example where we extract data from two tables. We want to edit the object properties contained in the SUPERCONF and ATOM tables for all objects in the configuration.

  1. In the database window, click the Queries tab and click New.
  2. Double-click Design View to design the query. The Show Table dialog box appears.

images\query_show.gif

  1. Select the SUPERCONF and ATOM tables and click Add. The tables are shown above the design grid.
  2. Close the Show Table dialog box.
  3. Link the primary key fields by dragging a line from AREA in the SUPERCONF table to AREA in the ATOM table and do the same with the ENAME field.

images\query_link.gif

  1. Drag the fields from the SUPERCONF and ATOM tables that we want to view or edit to the design grid.
    In this example:

SUPERCONF table = AREA, ENAME, DRIVERID and NODE_NUMBER

ATOM table = ATOMID, DATAGROUP, WORD OFFSET and BIT OFFSET

images\query_design.gif

  1. Run the query by clicking images\ico_run.gif. The extracted fields appear.

images\query_finish.gif

  1. Edit the properties, as required.