by AlexZencovich » Tue Aug 14, 2007 8:59 am
Be sure you have not removed ExportToXLS method defintion, especailly from interface IPivotCubeX definition.
You may need remove XLS component from main form change
procedure TPivotCubeX.ExportToXLS(const FileName: WideString;
ShowProgress: WordBool);
var Path : _pvcstring;
begin
Path := _pvcstring(FileName);
if Length(Path) = 0 then begin
sd.FileName := '';
sd.Filter := 'Microsoft Excel files (*.xls)|*.xls';
sd.DefaultExt := '.xls';
if not sd.Execute then Exit;
Path := sd.FileName;
end;
XLS.Filename := Path;
PivotGridToXLReadWriteII(Grid, XLS, True, True, Boolean(ShowProgress));
end;
to
procedure TPivotCubeX.ExportToXLS(const FileName: WideString;
ShowProgress: WordBool);
begin
end;
and remove unit PivotGridToXLReadWrite from uses clause
Best regards,
Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment