× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
kin-hong reported 2017-05-31T04:28:21Z  · tariqrahiman last modified 2017-06-07T20:13:33Z

AQDataSet#saveAsExcel2007 fails to generate Excel workbook


customer request
Dev
Kin-Hong Wong
kin-hong
QA
Tariq Rahiman
tariqrahiman
Priority Major
Complexity Unknown
Component Open API - Data
Version 18.0

Create an AquaScript that contains the following code snippet:

// query a data set
var dataSet = conn.executeSnapshot(sql);

// create a report dataset settings
var settings = aqua.report.newReportDataSetSettings();
settings.setColumnNumericFormat(1,"$#,##0.00");
settings.setColumnDateTimeFormat(2, "MMM dd, YYYY hh:mm:ss a");

//save as excel file using the report settings
dataSet.saveAsExcel2007("<path to file>", settings, null);

There are three parts to this issue:

1. The dataSet.saveAsExcel2007 (i.e. CoreDataSet#saveAsExcel2007 Open API) implementation does not generate an Excel workbook.

2. The generated Excel workbook does not export the "$#,##0.00" and "MMM dd, YYYY hh:mm:ss a" numeric and date/time formats.

3. We need to add new Aquascript OpenAPIs to allow users to customize data cell foreground and background colors when exporting to Excel.

4 attachments

Issue #15284

Closed
Fixed
Resolved 2017-06-05T16:56:57Z
 
 
Completion
No due date
Fixed Build 18.0.13-8, 19.0.0-alpha-28
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017