Chapter 15 The Mapping Editor


Creating a mapping using the Create Mapping tool from the Mappings pane

You can create a mapping using the Create Mapping tool from the Mappings pane. The mapping object can be compared to a container for the target object and its source objects.

You first need to select an object icon in the Target pane.

If the target object is a parent object A selection dialog box is displayed to let you select one or more sources for the target. Then they are displayed in the Parent Object Sources sub-tab of the Mappings pane. Besides, child objects that match are automatically mapped and are displayed in the Child Objects Mapping sub-tab.

If the target object is a child object You also need to select one or more object icons in the Source pane. The mapping expression is displayed in the Mapped to sub-tab that you can modify. You can also add other source objects using the Add Sources tool in the Sources sub-tab.

Steps To create a mapping using the Create Mapping tool from the Mappings pane:

  1. Select an object icon in the Target pane if the target object is a parent.

    or

    Select one or more object icons in the Source pane and select an object icon in the Target pane if the target object is a child.
  2. Click the Create Mapping tool in the Mappings pane.

    A link is automatically created between the objects to materialize the mapping and a small symbol is displayed on the source and target object icons. The mapping details display in the Mappings pane.

 


Copyright (C) 2006. Sybase Inc. All rights reserved.