Saltar al contenido principal

BatchParamTypeByIndex

Structure

BatchParamTypeByIndex(iDataSet, iIndex, sType)

Type

Procedure

Description

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

Parameters: 3

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.

sType=the data type of the parameter. Options for this string are:

  • 'ftString': a String (this is the same as choosing ftWideString)
  • 'ftWideString': a String
  • 'ftInteger': an Integer
  • 'ftFloat': a Float
  • 'ftDateTime': a DateTime
  • 'ftBlob': a Blob (binary data)
  • 'ftMemo': a Memo
|