AdjustFormula converts OldFormula to a valid formula that returns data of the correct type for a TDataArray.
Parameters
- OldFormula
- OldFormula is the existing (or proposed) formula for the TDataArray.
- FormulaDataType
- FormulaDataType indicates the type of data returned by the formula for the TDataArray.
- DataSetDataType
- DataSetDataType indicates the type of data stored by the TDataArray.
Returns
AdjustFormula returns a copy of OldFormula modified so that it returns data that matches DataSetDataType.
|