Quantcast
Channel: SCN : Discussion List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2881

SaveAs Excel12 not working correctly

$
0
0

An Excel XLSX file is a zip file containing various XML files.

 

When doing a SaveAs in the DB Painter or in code, the XLSX file is created without any compression. This causes files to be much larger than they should be.

 

I saved a large resultset and the file was 30,440 KB. I opened it in Excel and did a Save As with a different name. The new file is only 5,760 KB.

 

When the SaveAs function creates the XLSX file, it needs to make sure it uses the compression method Deflate.

 

This is also a problem in PB 12.5.2 as well. See the discussion started by Brad Wery.


Viewing all articles
Browse latest Browse all 2881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>