Browse Source

- implemented TDataset.Locate
- removed TParam.FNull

joost 20 years ago
parent
commit
e4d35e6fe9
1 changed files with 6 additions and 2 deletions
  1. 6 2
      fcl/db/db.pp

+ 6 - 2
fcl/db/db.pp

@@ -1053,6 +1053,7 @@ type
     function IsEmpty: Boolean;
     function IsEmpty: Boolean;
     function IsSequenced: Boolean; virtual;
     function IsSequenced: Boolean; virtual;
     procedure Last;
     procedure Last;
+    function Locate(const keyfields: string; const keyvalues: Variant; options: TLocateOptions) : boolean; virtual;
     function MoveBy(Distance: Longint): Longint;
     function MoveBy(Distance: Longint): Longint;
     procedure Next;
     procedure Next;
     procedure Open;
     procedure Open;
@@ -1458,7 +1459,6 @@ type
     FValue: Variant;
     FValue: Variant;
     FPrecision: Integer;
     FPrecision: Integer;
     FNumericScale: Integer;
     FNumericScale: Integer;
-    FNull: Boolean;
     FName: string;
     FName: string;
     FDataType: TFieldType;
     FDataType: TFieldType;
     FBound: Boolean;
     FBound: Boolean;
@@ -1897,7 +1897,11 @@ end.
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.44  2005-04-04 07:30:51  michael
+  Revision 1.45  2005-04-10 18:26:54  joost
+  - implemented TDataset.Locate
+  - removed TParam.FNull
+
+  Revision 1.44  2005/04/04 07:30:51  michael
   + Patch from Jesus reyes to notify changes to DisplayFormat
   + Patch from Jesus reyes to notify changes to DisplayFormat
 
 
   Revision 1.43  2005/03/29 10:07:34  michael
   Revision 1.43  2005/03/29 10:07:34  michael