|
@@ -1713,6 +1713,17 @@ type
|
|
property OnPostError: TDataSetErrorEvent read FOnPostError write FOnPostError;
|
|
property OnPostError: TDataSetErrorEvent read FOnPostError write FOnPostError;
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+ TDataSetEnumerator = class
|
|
|
|
+ private
|
|
|
|
+ FDataSet: TDataSet;
|
|
|
|
+ FBOF: Boolean;
|
|
|
|
+ function GetCurrent: TFields;
|
|
|
|
+ public
|
|
|
|
+ constructor Create(ADataSet: TDataSet);
|
|
|
|
+ function MoveNext: Boolean;
|
|
|
|
+ property Current: TFields read GetCurrent;
|
|
|
|
+ end;
|
|
|
|
+
|
|
TDataLink = class(TPersistent)
|
|
TDataLink = class(TPersistent)
|
|
private
|
|
private
|
|
FFirstRecord,
|
|
FFirstRecord,
|
|
@@ -2183,6 +2194,8 @@ function BuffersEqual(Buf1, Buf2: Pointer; Size: Integer): Boolean;
|
|
|
|
|
|
function SkipComments(var p: PChar; EscapeSlash, EscapeRepeat : Boolean) : boolean;
|
|
function SkipComments(var p: PChar; EscapeSlash, EscapeRepeat : Boolean) : boolean;
|
|
|
|
|
|
|
|
+operator Enumerator(ADataSet: TDataSet): TDataSetEnumerator;
|
|
|
|
+
|
|
implementation
|
|
implementation
|
|
|
|
|
|
uses dbconst,typinfo;
|
|
uses dbconst,typinfo;
|