mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 04:29:26 +02:00
* Fix error in calclookupvalue
This commit is contained in:
parent
352435cb75
commit
3cfec8f905
@ -759,7 +759,7 @@ procedure TField.CalcLookupValue;
|
|||||||
begin
|
begin
|
||||||
if FLookupCache then
|
if FLookupCache then
|
||||||
Value := LookupList.ValueOfKey(FDataSet.FieldValues[FKeyFields])
|
Value := LookupList.ValueOfKey(FDataSet.FieldValues[FKeyFields])
|
||||||
else if Assigned(FLookupDataSet) and FDataSet.Active then
|
else if Assigned(FLookupDataSet) and FLookupDataSet.Active then
|
||||||
Value := FLookupDataSet.Lookup(FLookupKeyfields, FDataSet.FieldValues[FKeyFields], FLookupresultField);
|
Value := FLookupDataSet.Lookup(FLookupKeyfields, FDataSet.FieldValues[FKeyFields], FLookupresultField);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user