mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-07 08:47:49 +02:00
* Fix error in calclookupvalue
This commit is contained in:
parent
9b47b08b15
commit
74d6b0e9f4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user