DynamiCube Support

Started by cristianopo at 08-18-2009 8:07 PM. Topic has 15 replies.

Print Search Rate
Sort Posts:    
   08-18-2009, 8:07 PM
cristianopo is not online. Last active: 8/6/2009 6:33:17 PM cristianopo

Not Ranked
Joined on 07-02-2009
Posts 9
Re: Export to Excel not working!!! Help!
Thanks Andrey.
As I do not run on machines Comdlg32.ocx already damaged, I changed the code to save directly to a specific directory on the local computer, but the ideal would open a dialog to save as well as with the normal Comdlg32.ocx the modified code is this:

function ExportToExcel()
{
    var fileName = ""
    var includeTotals = true;
    var formatNumbers = true;
    var includeColors = true;
    var merge = true;
    var selectedCub = document.form.DCubeView.options[document.form.DCubeView.selectedIndex].value;
    var selectedCub = selectedCub.replace(/\\/g, "/");
    var filenm  = selectedCub.substring(selectedCub.lastIndexOf('/') + 1);
    var fileName1 = filenm.split('.');
    var fileName = "c:/test/" + fileName1[0] + ".xls";
    if (fileName != "")
    {
       DCube.ExportToExcel(fileName, includeTotals,formatNumbers, includeColors, merge);
       window.alert("Export to" + fileName );
    }
}

If I could a dialog to save or to force the download to the browser open and you choose which save file would be better ...
I appreciate any help.

   Report 
  Page 2 of 2 (16 items) < 1 2
GrapeCity » Product Support » DynamiCube Supp... » Re: Export to Excel not working!!! Help!

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.