You've already forked lazarus-ccr
RxFPC:TRxDBGridExportSpreadSheet - ignore DisplayFormat on export formula
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4598 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -355,7 +355,7 @@ var
|
|||||||
begin
|
begin
|
||||||
if (Footer.ValueType <> fvtNon) then
|
if (Footer.ValueType <> fvtNon) then
|
||||||
begin
|
begin
|
||||||
if (ressExportFormula in FOptions) and (Footer.ValueType in [fvtSum, fvtMax, fvtMin]) and (FFirstDataRow <= FLastDataRow) and (Footer.DisplayFormat = '') then
|
if (ressExportFormula in FOptions) and (Footer.ValueType in [fvtSum, fvtMax, fvtMin]) and (FFirstDataRow <= FLastDataRow) {and (Footer.DisplayFormat = '')} then
|
||||||
begin
|
begin
|
||||||
D:=ColIndex(RxDBGrid.ColumnByFieldName(Footer.FieldName));
|
D:=ColIndex(RxDBGrid.ColumnByFieldName(Footer.FieldName));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user