Unit frmConvertChoiceUnit

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

The main purpose of frmConvertChoiceUnit is to define TfrmConvertChoice which is used to allow the user to correct problems with formulas whose result is of the wrong type for the TDataArray to which they apply.

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TfrmConvertChoice An instance of TfrmConvertChoice is displayed when the user created a formula in the Data Sets dialog box (TfrmDataSets) that gives results which are of the wrong type for that TDataArray. TfrmConvertChoice gives the user an opportunity to decide how to resolve the problem.

Functions and Procedures

function AdjustFormula(const OldFormula: string; const FormulaDataType, DataSetDataType: TRbwDataType): string;

Description

Functions and Procedures

function AdjustFormula(const OldFormula: string; const FormulaDataType, DataSetDataType: TRbwDataType): string;

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.


Generated by PasDoc 0.12.1 on 2013-05-13 15:41:34