mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-20 18:09:08 +02:00
+ do not search (locate) in an empty dataset
git-svn-id: trunk@4303 -
This commit is contained in:
parent
0a0089a669
commit
21c061421e
@ -827,6 +827,8 @@ begin
|
||||
// For now it is only possible to search in one field at the same time
|
||||
result := False;
|
||||
|
||||
if IsEmpty then exit;
|
||||
|
||||
keyfield := FieldByName(keyfields);
|
||||
CheckNull := VarIsNull(KeyValues);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user