Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 6 Manipulating Data in a Table : Replicating Data

Replicating Data
Purpose of Replicating Data
Replicating an occurrence provides a template for a new occurrence. No value is provided for the primary key field for the replicated occurrence; you must enter a unique value for the new occurrence. Any of the following methods leaves the original occurrence unaltered and adds a new occurrence to the table.
Replicating Data Using the R Line Command in the Table Editor
From the Table Editor, use the R line command to create a replica of one or more occurrences (you can replicate several occurrences at one time):
1.
2.
The replicated occurrences appears below the selected lines.
3.
4.
The new occurrences are repositioned after you enter a unique primary key and save.
Replicating Data Using the Single Occurrence Editor
You can replicate an existing occurrence by invoking the Single Occurrence Editor for an existing occurrence. Change the primary key value to a value that does not currently exist. You can then edit values for other fields as required.
For example, if the occurrence with primary key 80003 currently appears in the Single Occurrence Editor and you change this value to 81033 (perhaps changing values of other fields as well), a new occurrence is created.
Repositioning of Data
If used from the Table Browser, the new occurrence is inserted in its correct position based on the primary key as soon as you save from the Single Occurrence Editor. If used from the Table Editor, the new occurrence is first inserted after the selected occurrence and repositioned after you save from the Table Editor.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved