* Always initialize memo expressions, even if no Data available

git-svn-id: trunk@38561 -
This commit is contained in:
michael 2018-03-18 11:28:28 +00:00
parent 6c3ac68f1a
commit 10121a4777

View File

@ -11127,14 +11127,15 @@ begin
if Assigned(oData) and (oData<>aPageData) and (not odata.IsOpened) then
oData.Open;
end;
if IsFirstPass then
begin
Report.InitializeExpressionVariables;
Report.InitializePageAggregateData(lPage, aPageData);
Report.CacheMemoExpressions(lPage);
end;
aPageData.First;
end;
if IsFirstPass then
begin
Report.InitializeExpressionVariables;
if Assigned(aPageData) then
Report.InitializePageAggregateData(lPage, aPageData);
Report.CacheMemoExpressions(lPage);
end;
InitBandList(lPage,aPageData);
if Not Assigned(aPageData) then
StartNewPage