"Out of decode stack" Exception

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
henriet.wilkinson
Posts: 2
Joined: Fri Jul 05, 2013 1:49 pm

"Out of decode stack" Exception

Post by henriet.wilkinson »

Hi Support,

An "Out of decode stack" exception gets generated when we execute TXLSReadWriteII5.Write . This only happens on some of the reports we generate from Delphi 2007. It looks like it could be a possible data size issue as the report gets generated ok with a smaller set of data.

Any ideas what might cause this issue?

Regards,
Henriët
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: "Out of decode stack" Exception

Post by larsa »

Hello

Please send me a small excel file that reproduced this problem.
Lars Arvidsson, Axolot Data
henriet.wilkinson
Posts: 2
Joined: Fri Jul 05, 2013 1:49 pm

Re: "Out of decode stack" Exception

Post by henriet.wilkinson »

Hi Lars,

I've been able to trace the error. It was due to a SUM function which hade more than 255 numbers as the arguments.

Regards,
Henriët
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: "Out of decode stack" Exception

Post by larsa »

Hello

You can have max 255 arguments. That's an excel limit.
Lars Arvidsson, Axolot Data
Post Reply