535 |
|
{ISQLParams} |
536 |
|
function getCount: integer; |
537 |
|
function getSQLParam(index: integer): ISQLParam; |
538 |
+ |
function ParamExists(Idx: AnsiString): boolean; |
539 |
|
function ByName(Idx: AnsiString): ISQLParam ; virtual; |
540 |
|
function GetModified: Boolean; |
541 |
|
function GetHasCaseSensitiveParams: Boolean; |
562 |
|
{IResults} |
563 |
|
function getCount: integer; |
564 |
|
function ByName(Idx: AnsiString): ISQLData; virtual; |
565 |
+ |
function FieldExists(Idx: AnsiString): boolean; |
566 |
|
function getSQLData(index: integer): ISQLData; |
567 |
|
procedure GetData(index: integer; var IsNull:boolean; var len: short; var data: PByte); |
568 |
|
function GetStatement: IStatement; |
3293 |
|
end; |
3294 |
|
end; |
3295 |
|
|
3296 |
+ |
function TSQLParams.ParamExists(Idx: AnsiString): boolean; |
3297 |
+ |
begin |
3298 |
+ |
CheckActive; |
3299 |
+ |
Result := FSQLParams.ColumnByName(Idx) <> nil; |
3300 |
+ |
end; |
3301 |
+ |
|
3302 |
|
function TSQLParams.ByName(Idx: AnsiString): ISQLParam; |
3303 |
|
var aIBXSQLVAR: TSQLVarData; |
3304 |
|
begin |
3418 |
|
end; |
3419 |
|
end; |
3420 |
|
|
3421 |
+ |
function TResults.FieldExists(Idx: AnsiString): boolean; |
3422 |
+ |
begin |
3423 |
+ |
Result := FResults.ColumnByName(Idx) <> nil; |
3424 |
+ |
end; |
3425 |
+ |
|
3426 |
|
function TResults.getSQLData(index: integer): ISQLData; |
3427 |
|
begin |
3428 |
|
CheckActive; |