30 |
|
|
31 |
|
interface |
32 |
|
|
33 |
< |
uses Windows, SysUtils, Graphics, Classes, Controls, Db, StdVCL, |
33 |
> |
{$Mode Delphi} |
34 |
> |
|
35 |
> |
uses |
36 |
> |
{$IFDEF LINUX } |
37 |
> |
unix, |
38 |
> |
{$ELSE} |
39 |
> |
Windows, |
40 |
> |
{$ENDIF} |
41 |
> |
SysUtils, Graphics, Classes, Controls, Db, |
42 |
|
IBHeader, IB, IBCustomDataSet, IBSQL; |
43 |
|
|
44 |
|
type |
69 |
|
|
70 |
|
protected |
71 |
|
{ IProviderSupport } |
72 |
< |
procedure PSExecute; override; |
72 |
> |
(* procedure PSExecute; override; |
73 |
|
function PSGetParams: TParams; override; |
74 |
|
function PSGetTableName: string; override; |
75 |
|
procedure PSSetCommandText(const CommandText: string); override; |
76 |
< |
procedure PSSetParams(AParams: TParams); override; |
76 |
> |
procedure PSSetParams(AParams: TParams); override; *) |
77 |
|
|
78 |
|
procedure DefineProperties(Filer: TFiler); override; |
79 |
|
procedure InitFieldDefs; override; |
89 |
|
procedure BatchInput(InputObject: TIBBatchInput); |
90 |
|
procedure BatchOutput(OutputObject: TIBBatchOutput); |
91 |
|
procedure ExecSQL; |
92 |
< |
procedure GetDetailLinkFields(MasterFields, DetailFields: TList); override; |
92 |
> |
procedure GetDetailLinkFields(MasterFields, DetailFields: TList);(* override;*) |
93 |
|
function ParamByName(const Value: string): TParam; |
94 |
|
procedure Prepare; |
95 |
|
procedure UnPrepare; |
149 |
|
|
150 |
|
procedure TIBQuery.InitFieldDefs; |
151 |
|
begin |
152 |
< |
inherited; |
152 |
> |
inherited InitFieldDefs; |
153 |
|
end; |
154 |
|
|
155 |
|
procedure TIBQuery.InternalOpen; |
478 |
|
end; |
479 |
|
|
480 |
|
{ TIBQuery IProviderSupport } |
481 |
< |
|
481 |
> |
(* |
482 |
|
function TIBQuery.PSGetParams: TParams; |
483 |
|
begin |
484 |
|
Result := Params; |
506 |
|
if CommandText <> '' then |
507 |
|
SQL.Text := CommandText; |
508 |
|
end; |
509 |
< |
|
509 |
> |
*) |
510 |
|
end. |
511 |
|
|