Rule Builder > Managing Decision Tables > Table Cell Editing Operations > Cut / Copy / Paste

The decision table features a Cut / Copy / Paste mechanism that allows you to import and export data to and from the decision table. This mechanism also enhances editing capabilities in the table, allowing copying and pasting complete partitions from one branch to another.

Copy is based on rectangular cell selection. Copying a branch copies selected cells and all cells to the right of the selection (conditions and actions included).

Cut first copies the selected data to the clipboard and then cuts selected branches (conditions and actions included).

Paste, by default, overwrites destination cells with the clipboard contents.

A special paste function allows you to control how data is pasted: partition items may be inserted instead of overwriting existing cells; branches under previously copied partition items may be included; and cell formatting may be applied or not. These functions are selectable in a dialog box, shown in Figure 12.53, by using the Paste Special action.

images/paste_special.gif

Figure 12.53    Special Paste Function

The pasting data mechanism is flexible. It first tries to paste predicates and values. If predicates are not compatible, only values are pasted. But if values are not of the same type, a conversion on the fly is attempted. Finally, if no conversion is possible, the previous value is not modified.
Note
Pasting in empty columns assigns a type and name to these empty columns on the fly.

See Also

Selecting Cells


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT