Forums

excel file corrupt over 16 datas stored

darioct 04 Oct, 2010
Hi,
I have a form with an external db. All my forms work good. I can export all my records in a single xls file, but if I fill over than 16 datas the file get corrupt. How is it possible?
thank you for your response

dario
GreyHead 05 Oct, 2010
Hi dario,

Please see this thread and in particular Erik's posts later on. This is probably a memory problem that can be addressed by increasing the memory available to PHP or by restructuring the code to esport in smaller chunks.



Bob

PS There is a short article on this in Chapter 4 of The ChronoForms Book and a much longer 6-page article including an example of coding for long files available for a few dollars here.
darioct 05 Oct, 2010
thank you for your response.
the article you are talking about is for chronoforms?
darioct 05 Oct, 2010
hi, I solved following erik suggestion (deleting the code $xls->setVersion(8))
do u think i could have any problem deleting this string? it's written it need to solve 255 limit

thank you again
This topic is locked and no more replies can be posted.