Follow-On Topics

Related Topics

# Adding a Call COM Object Task Step

To add a new Call COM Object step to an existing task, do the following:

1. Open the relevant task (for creating new tasks, see Creating a New Task).
2. Either:

|  | Click and drag the Call COM Object icon from the Task Browser to the task Design area.

|  | Click on the Environment tab in the Task Browser. Right-click on Steps and select New > Execute > Call COM Object.

|  | From the task's Design tab, right-click on empty space and select New > Execute > Call COM Object.

3. Enter a Name and Description for the step.
4. If required, choose the data to be passed:
   1. If passing a previous step's recordset, select Use a recordset then choose the recordset from the Input Recordset drop-down.
   2. If passing a document, select Read documents from a source then choose the document from the Document Source drop-down.
5. If using a column from an Input Step, select the Use a recordset options and then select a recordset from the Input Recordset drop down list.
6. If using a document from a Format as Text, Format as HTML, or Run Crystal Report Step, select the Read documents from a source option and then select a document from the Document Source drop down list.
7. Select the Main tab.
8. Click Browse to select an object and method to call through the Object Browser dialog box.
9. A table of available parameters for the chosen method is displayed. The value for each parameter can be edited, or a column, property, or variable containing the required parameter value dragged and dropped from the Task Browser dialog box.
10. Select Memory to define a Repository to memorise some or all of the recordset used by this step in the Memory Definitions dialog.
11. Select the Options tab and choose the error options required.
12. Click OK to save the new step and close the dialog box. An icon for the step is displayed in the Task Plan.

Copyright © 2018 Quadrant Software B.V. All rights reserved.