mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 10:49:17 +02:00
* Always initialize memo expressions, even if no Data available
git-svn-id: trunk@38561 -
This commit is contained in:
parent
6c3ac68f1a
commit
10121a4777
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user