mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 13:09:16 +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
|
// For now it is only possible to search in one field at the same time
|
||||||
result := False;
|
result := False;
|
||||||
|
|
||||||
|
if IsEmpty then exit;
|
||||||
|
|
||||||
keyfield := FieldByName(keyfields);
|
keyfield := FieldByName(keyfields);
|
||||||
CheckNull := VarIsNull(KeyValues);
|
CheckNull := VarIsNull(KeyValues);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user