You've already forked lazarus-ccr
RxDBGrid - fix cacl footer for empty dataset
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2402 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -3001,7 +3001,8 @@ var
|
||||
APresent: boolean;
|
||||
SEA, SEB:TDataSetNotifyEvent;
|
||||
begin
|
||||
if (not (FFooterOptions.Active and DatalinkActive)) or (Columns.Count = 0) then
|
||||
if (not (FFooterOptions.Active and DatalinkActive)) or (Columns.Count = 0) or
|
||||
(DataSource.DataSet.RecordCount<=0) then
|
||||
Exit;
|
||||
//Дополнительно проверим - а стоит ли делать пробег по данным - есть ли агрегатные функции
|
||||
APresent := False;
|
||||
|
Reference in New Issue
Block a user