mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 21:29:31 +02:00
* Return an empty variant in Lookup if no record is found
git-svn-id: trunk@12540 -
This commit is contained in:
parent
b3df8becfb
commit
9d6694a692
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user