Deleting a Data Source

You can remove any unwanted data source (i.e., a tab in the Data Source area) at any time.

  1. Double-click the Data Exchanger component icon .
    The Data Exchanger Component Editor appears.
  2. From the Data Exchanger Component Editor, click the tab that corresponds to the data source that you want to delete.

    The contents of the data source appear in the Data Source area.

  3. Perform one of the following:
    • Right-click anywhere in the Data Source area, and select Delete Selection.

    • Click the button on the toolbar.

    • Right-click in the Data Source area, and select Close Data Source.

  4. Click OK to confirm the action.

    The Data Exchanger deletes the data source.

  5. Click OK to save your changes and to close the Data Exchanger Component Editor.

Keep in mind the following actions that occur when you use the delete/close options in the Data Exchanger component:

  • The button/Close Data Source menu option always closes the current data source.

  • The button/Delete Statement menu option deletes a data source, section, or other action depending on the selection.

  • The Delete Section option (accessed by right-clicking in the Data Source area) deletes the current section, or it deletes the data source if the current section is the data source.

  • Deleting a section also deletes all read and write actions inside that section, and closing a data source deletes all sections, reads, and writes in that data source.

  • Deleting an if, while, or for action only deletes the selected action and the associated end indicator "}". Any other actions that were inside the block are left in place. To delete an if, for, or while action and everything inside it, click the start action and then shift-click the end indicator.

  • Actions can be moved into or out of a loop or if block by using the cut/paste feature.