* Fix error in calclookupvalue

This commit is contained in:
Michaël Van Canneyt 2021-08-09 16:35:42 +02:00
parent 9b47b08b15
commit 74d6b0e9f4

View File

@ -5715,7 +5715,7 @@ begin
// if FLookupCache then
// Value := LookupList.ValueOfKey(FDataSet.FieldValues[FKeyFields])
// else if
if Assigned(FLookupDataSet) and FDataSet.Active then
if Assigned(FLookupDataSet) and FLookupDataSet.Active then
Value := FLookupDataSet.Lookup(FLookupKeyfields, FDataSet.FieldValues[FKeyFields], FLookupresultField)
else
Value:=Null;