Class TDualQuery (unit dualQry)

Inherits from

TDBDataSet

Constructors


Constructor Create(AOwner:TComponent);



Functions

Procedure AddParam(Const tmpParam,tmpSubst:String; doReplace: boolean);

end ii for loop

Procedure ClearParams;


Procedure DeleteParam(Const tmpParam:String; warn: boolean);


destructor Destroy;

by default, DBase answer tables

Function GetAliasPath(Const Alias:String):String;


Function GetDBTablePath(Const TableName:String):String;


Function LoadFromFile( fname : string):boolean;


Function ReplaceString(s:String):String;

end ii for loop

Function SaveToFile( fname : string):boolean;


procedure SetQuery(QLines: TStrings);

St:Array[0.

procedure SetQueryLang( which : tQueryType);


function CreateHandle: HDBICur;


Properties

property AnswerTable : String


property AnswerType : TTableType


property AuxTables : Boolean


property BlankasZero : Boolean


property Filename : TFileName


property QLines : TStrings


property QParams : TStrings


property QueryLanguage : tQueryType


property RequestLive : Boolean


Events

Variables

FParams : TStrings;


FQuery : TStrings;


NumParam : Integer;


Param : Array[0..MaxParam] of String[MaxParamLen];


Subst : Array[0..MaxParam] of String[MaxParamLen];


eQueryLang : dbiQryLang;


FAnswerTable : String;


FAnswerType : TTableType;


FAuxTables : Boolean;


FBlankasZero : Boolean;


FFileName : TFileName;


FQueryType : tQueryType;


FRequestLive : Boolean;



Constructors


Constructor Create(AOwner:TComponent);


Functions


Procedure AddParam(Const tmpParam,tmpSubst:String; doReplace: boolean);

end ii for loop


Procedure ClearParams;


Procedure DeleteParam(Const tmpParam:String; warn: boolean);


destructor Destroy;

by default, DBase answer tables


Function GetAliasPath(Const Alias:String):String;


Function GetDBTablePath(Const TableName:String):String;


Function LoadFromFile( fname : string):boolean;


Function ReplaceString(s:String):String;

end ii for loop


Function SaveToFile( fname : string):boolean;


procedure SetQuery(QLines: TStrings);

St:Array[0..255] of Char;


procedure SetQueryLang( which : tQueryType);


function CreateHandle: HDBICur;


Properties


property AnswerTable : String


property AnswerType : TTableType


property AuxTables : Boolean


property BlankasZero : Boolean


property Filename : TFileName


property QLines : TStrings


property QParams : TStrings


property QueryLanguage : tQueryType


property RequestLive : Boolean


Events


Variables


FParams : TStrings;


FQuery : TStrings;


NumParam : Integer;


Param : Array[0..MaxParam] of String[MaxParamLen];


Subst : Array[0..MaxParam] of String[MaxParamLen];


eQueryLang : dbiQryLang;


FAnswerTable : String;


FAnswerType : TTableType;


FAuxTables : Boolean;


FBlankasZero : Boolean;


FFileName : TFileName;


FQueryType : tQueryType;


FRequestLive : Boolean;