in reply to Error when reach end excel sheet limit
From your description of the problem, it sounds like you are using Excel as an output format to render the results of some sort of database query.
As Ratazong said, there are almost certainly ways to keep track of how many rows your are writing into your spreadsheet, and if you are exceeding the row limit (2**16 I think), you can issue a warning or start a new sheet.
However, I would question if it is usefull to the end user to get that many results. If the Excell sheet is just a list of all matching records, then most of the time when the end user gets a huge spreadsheet with thousands of results, they will not bother reading past the first page or so, instead, they will refine their query and run it again.
Considering that, I would consider having a query limit, so that if a query returns lots of results, the user gets the first 500 or so, and then a message like Your query returned 631,978 records, showing the first 500. You would need to provide a way for users to show all results if they really needed them, but I suspect that most users would not.
|
|---|