AddStep method: AESection class
Syntax
AddStep(ae_step_name [, NewStepName])
Description
The given step name from the template section is added as the next step into the base section, and named the existing step name.
Note:
When you open or get a section, all the existing steps are deleted. The first time you execute AddStep, you add the first step. The second time you execute AddStep, you add the second step, and so on.
All attributes of the step are copied, including all of its actions. The only changeable attribute of a step are its SQL statements, which can be modified using the SetSQL method. SetSQL is run on the current step, that is, the step most recently added.
You can also change the name of the step by using the optional parameter NewStepName.
If the step named does not exist in the template, an error occurs. Likewise, if you have not opened or set the template for the section, you receive an error.
Parameters
| Parameter | Description |
|---|---|
|
ae_step_name |
Specify the step name from the template to be added as the next step in the base section. This parameter takes a string value. |
|
NewStepName |
Specify a new name for the step to be added. This parameter is optional, and takes a string value. |
Returns
None.
Example
See AESection Example.
Related Topics