diff --git a/Source/Base/Utiles/uGridUtils.pas b/Source/Base/Utiles/uGridUtils.pas index abcffa37..c8560006 100644 --- a/Source/Base/Utiles/uGridUtils.pas +++ b/Source/Base/Utiles/uGridUtils.pas @@ -88,6 +88,9 @@ var AList: TList; AKeyValue: Variant; begin + if not Assigned(RecordInfo) then + Exit; + I := 0; ARecordIndex := AView.DataController.FindRecordIndexByKey(RecordInfo.KeyValues); Result := nil;