2
0
Эх сурвалжийг харах

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

git-svn-id: trunk@12540 -
blikblum 16 жил өмнө
parent
commit
9d6694a692

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

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