Browse Source

* Return an empty variant in Lookup if no record is found

git-svn-id: trunk@12540 -
blikblum 16 years ago
parent
commit
9d6694a692
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-db/src/sqlite/customsqliteds.pas

+ 1 - 1
packages/fcl-db/src/sqlite/customsqliteds.pas

@@ -1130,7 +1130,7 @@ begin
   if TempItem <> nil then
   if TempItem <> nil then
     Result := TempItem^.Row[FieldByName(ResultFields).FieldNo - 1]
     Result := TempItem^.Row[FieldByName(ResultFields).FieldNo - 1]
   else
   else
-    Result := False;
+    Result := Null;
 end;  
 end;  
 
 
 procedure TCustomSqliteDataset.SetBookmarkData(Buffer: PChar; Data: Pointer);
 procedure TCustomSqliteDataset.SetBookmarkData(Buffer: PChar; Data: Pointer);