Passa al contenuto principale

BatchParamValueByIndex

Structure

BatchParamValueByIndex(iDataSet, iIndex, 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.

iIndex=the index of the parameter. This will define the index based on the order it 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. |