Zum Hauptinhalt springen

BatchParamValueByName

Structure

BatchParamValueByNameiDataSet, sParam, iNum, vValue)

Type

Procedure

Description

This procedure will define the Param values for of the 10 td* datasets to use the ExecuteBatch procedure.

Parameters: 4

iDataSet=# of dataset, must be either 1-10. IndySoft provides 10 datasets that can be accessed through 'td*' custom script functions.

sParam=the name of the parameter. This will be the [name] portion of a :[name] section that appears in the SQL defined in StartBatch.

iNum=the number of the record this value applies to. If StartBatch had iSize=10, then iNum will range from 0 to 9.

vValue=the value to replace the indexed parameter with. |