|
@@ -1131,6 +1131,14 @@ type
|
|
property ObjectType: string read FObjectType write FObjectType;
|
|
property ObjectType: string read FObjectType write FObjectType;
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+{ TArrayField }
|
|
|
|
+
|
|
|
|
+ TArrayField = class(TObjectField)
|
|
|
|
+ private
|
|
|
|
+ public
|
|
|
|
+ constructor Create(AOwner: TComponent); override;
|
|
|
|
+ end;
|
|
|
|
+
|
|
{ TIndexDef }
|
|
{ TIndexDef }
|
|
|
|
|
|
TIndexDefs = class;
|
|
TIndexDefs = class;
|
|
@@ -1599,6 +1607,7 @@ type
|
|
FOnPostError: TDataSetErrorEvent;
|
|
FOnPostError: TDataSetErrorEvent;
|
|
FRecordCount: Longint;
|
|
FRecordCount: Longint;
|
|
FIsUniDirectional: Boolean;
|
|
FIsUniDirectional: Boolean;
|
|
|
|
+ FSparseArrays: Boolean;
|
|
FState : TDataSetState;
|
|
FState : TDataSetState;
|
|
FInternalOpenComplete: Boolean;
|
|
FInternalOpenComplete: Boolean;
|
|
Procedure DoInsertAppend(DoAppend : Boolean);
|
|
Procedure DoInsertAppend(DoAppend : Boolean);
|
|
@@ -1619,6 +1628,7 @@ type
|
|
Procedure UpdateFieldDefs;
|
|
Procedure UpdateFieldDefs;
|
|
procedure SetBlockReadSize(AValue: Integer); virtual;
|
|
procedure SetBlockReadSize(AValue: Integer); virtual;
|
|
Procedure SetFieldDefs(AFieldDefs: TFieldDefs);
|
|
Procedure SetFieldDefs(AFieldDefs: TFieldDefs);
|
|
|
|
+ procedure SetSparseArrays(AValue: Boolean);
|
|
procedure DoInsertAppendRecord(const Values: array of const; DoAppend : boolean);
|
|
procedure DoInsertAppendRecord(const Values: array of const; DoAppend : boolean);
|
|
protected
|
|
protected
|
|
procedure RecalcBufListSize;
|
|
procedure RecalcBufListSize;
|
|
@@ -1843,6 +1853,7 @@ type
|
|
property RecordCount: Longint read GetRecordCount;
|
|
property RecordCount: Longint read GetRecordCount;
|
|
property RecNo: Longint read GetRecNo write SetRecNo;
|
|
property RecNo: Longint read GetRecNo write SetRecNo;
|
|
property RecordSize: Word read GetRecordSize;
|
|
property RecordSize: Word read GetRecordSize;
|
|
|
|
+ property SparseArrays: Boolean read FSparseArrays write SetSparseArrays;
|
|
property State: TDataSetState read FState;
|
|
property State: TDataSetState read FState;
|
|
property Fields : TFields read FFieldList;
|
|
property Fields : TFields read FFieldList;
|
|
property FieldValues[FieldName : string] : Variant read GetFieldValues write SetFieldValues; default;
|
|
property FieldValues[FieldName : string] : Variant read GetFieldValues write SetFieldValues; default;
|
|
@@ -2340,7 +2351,7 @@ const
|
|
{ ftWideString} TWideStringField,
|
|
{ ftWideString} TWideStringField,
|
|
{ ftLargeint} TLargeIntField,
|
|
{ ftLargeint} TLargeIntField,
|
|
{ ftADT} Nil,
|
|
{ ftADT} Nil,
|
|
- { ftArray} Nil,
|
|
|
|
|
|
+ { ftArray} TArrayField,
|
|
{ ftReference} Nil,
|
|
{ ftReference} Nil,
|
|
{ ftDataSet} Nil,
|
|
{ ftDataSet} Nil,
|
|
{ ftOraBlob} TBlobField,
|
|
{ ftOraBlob} TBlobField,
|
|
@@ -2370,6 +2381,8 @@ const
|
|
ftBlobTypes = [ftBlob, ftMemo, ftGraphic, ftFmtMemo, ftParadoxOle,
|
|
ftBlobTypes = [ftBlob, ftMemo, ftGraphic, ftFmtMemo, ftParadoxOle,
|
|
ftDBaseOle, ftTypedBinary, ftOraBlob, ftOraClob, ftWideMemo];
|
|
ftDBaseOle, ftTypedBinary, ftOraBlob, ftOraClob, ftWideMemo];
|
|
|
|
|
|
|
|
+ ObjectFieldTypes = [ftADT, ftArray, ftReference, ftDataSet];
|
|
|
|
+
|
|
var
|
|
var
|
|
LoginDialogExProc: function(const ADatabaseName: string; var AUserName, APassword: string; UserNameReadOnly: Boolean): Boolean = nil;
|
|
LoginDialogExProc: function(const ADatabaseName: string; var AUserName, APassword: string; UserNameReadOnly: Boolean): Boolean = nil;
|
|
|
|
|