Page 1 of 1

Error in TXLSExport5.WriteData method

Posted: Wed Aug 05, 2015 8:57 am
by Heiner
Hello

there is a typical copy-paste in your Source code!
In the TXLSExport5.WriteData routine (line 3005-306 // Using Delpohi 2007) is the R2 integer (for the maximal row calc) wrong calculated:

your wrong code:
C2 := Max(C2,IC2);
R2 := Max(C2,IR2);

correct code:
C2 := Max(C2,IC2);
R2 := Max(R2,IR2);

I've this is not corrected you can't export more than 20 rows (eg. to an HTML file!)

*** CurrentVersionNumber = '5.20.53'; ***

greetings
H.Breuer

Re: Error in TXLSExport5.WriteData method

Posted: Wed Aug 12, 2015 10:01 am
by larsa
Hello

This is fixed in update 5.20.54