* Avoid AV acessing page if band not assigned

git-svn-id: trunk@38930 -
This commit is contained in:
michael 2018-05-06 09:52:10 +00:00
parent 7a3b96c1a5
commit 75e4be46f9

View File

@ -6940,7 +6940,10 @@ end;
function TFPReportElement.GetReportPage: TFPReportCustomPage;
begin
Result := Band.Page;
if Assigned(Band) then
Result := Band.Page
else
Result:=Nil;
end;
procedure TFPReportElement.SaveDataToNames;