mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 04:29:29 +02:00
* Fix error in calclookupvalue
This commit is contained in:
parent
352435cb75
commit
3cfec8f905
@ -759,7 +759,7 @@ procedure TField.CalcLookupValue;
|
||||
begin
|
||||
if FLookupCache then
|
||||
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);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user