Whenever I try to export to Excel file, it brakes at 16,384 record. Is this a bug or there is a parameter controlling number of records to be exported to Excel. I do not have this problem with other data types (Delimited, for example). [sig][/sig]
I guess the easy answer is that 16,384 rows is the maximum, except I can't find that documented.
My Excel 2000 documentation says that a single worksheet is limited to 65,536 rows by 256 columns, and your 16,384 is exactly 1/4 of this. Earlier versions of Excel may have had smaller limits.
If you are using EXPORT ... TYPE XLS, try using EXPORT ... TYPE XL5. [sig]<p>Robert Bradley<br><a href=mailto: > </a><br><a href=
The explanation that I always receive when inquiring about this is as follows:
"It's a limitation that was carried over from the FoxPro for DOS days."
As Robert eluded to, my assumption for the limitation was that in the early days of Excel, the per sheet limit was 16K. And thus this limitation was carried forth with FoxPro into VFP.
One solution is to automate Excel and import the data to the spreadsheet. But, keep in mind, if your data exceeds Excel's 64K rows per sheet limit, you'll have to divide you data among multiple sheets. [sig]<p>Jon Hawkins<br><a href=mailto: jonscott8@yahoo.com> jonscott8@yahoo.com</a><br><a href= > </a><br>Carpe Diem! - Seize the Day![/sig]
Thank you, Jon & Robert,
I am using Excel 97 with 64K size limit. The solution I found was to split Export to several sheets with max of 15,000 rows each and then merge them back to one using automation. Initially I programmed it with OLE, but it would take forever to download around 40,000 records.
Thanks again. Albert [sig][/sig]
AMakovoz,
I have run into this several times also. It is a FoxPro Export Limitation Problem. Here is what I do to get around it.
I export the info to a delimited file.
Start Excel and import the file.
I can pass up to 64,000 records this way. [sig]<p>David W. Grewe<br><a href=mailtoave@internationalbid.net>Dave@internationalbid.net</a><br><a href= > </a><br> [/sig]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.