- Create Sheet 1
- Fill in more then 65535 rows in the grid on Sheet 1
- Create Sheet 2
- Fill in a few cells
- switch back to Sheet 1 - top of the Sheet is corrupted, Cells below 65535 are gone
There is a simple test project attached to demonstrate the issue:
Project1.dpr (234 Bytes)
Unit1.dfm (5.8 KB)
Unit1.pas (1.6 KB)
IIRC, Excel doesn't support more than 65535 rows per sheet.
Try doing the same within Excel itself...
When the grid contains one sheet, more than 65535 records could be added and then exported to xlsx without a problem.
The data corruption happens when the second sheet is used.
Apparently, to reproduce the issue adding second sheet is enough. No need to add any data to it.
In the attachment the new simpler version of the test project.
Test.zip (2.7 KB)
Click Start button, when the "Add Second Sheet" is off. Notice how fast the grid populates and all data is correct.
Enable the checkbox. Click Start again and observe that generation takes much longer. Data in the first rows is wrong. Switching between sheets takes a long time.
Have not seen any reply from support yet.
Let me know if I post in a wrong area or you need any additional information.
We fixed this issue. The next update will address this.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.