Jump to content


Photo

Bug in SaveToXLSFile


  • Please log in to reply
2 replies to this topic

#1 cezar

cezar
  • Members
  • 34 posts
  • Gender:Male

Posted 26 June 2016 - 12:28 AM

Boki,

 

I've found a bug while trying to export NextSheet into XLS file. Here is my simple code:

begin
NextSheet1.ColCount := 5;
NextSheet1.RowCount := 10;

nextsheet1.Cell[1,1].Value := 'aaaa';


nextsheet1.SaveToXLSFile('h:\test.xls');

end;

The 'aaaa' string is visible OK in the component, however the SabeToXLSFile method creates empty file  - I mean: proper XLS file but without any data inside. I'm using NextSuite v5.9.70

 

Cezar

 



#2 cezar

cezar
  • Members
  • 34 posts
  • Gender:Male

Posted 06 July 2016 - 07:18 PM

Boki, any help on this problem?



#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 14 July 2016 - 01:14 PM

Hi,

I am thinking about moving to XLSX format (now more used) since this routine was made long ago by my friend. XLS was closed standard back in days so I didn't have much information how to read/write it. Now maybe there are more, but I think XLSX (based on XML) is better choice.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users