use (filename)
go bott
store recno() to m.reccount
if m.reccount >= 16,382
copy to file (filename).csv &&EXCEL WILL ONLY OPEN 65536 RECORDS
else
copy file to (filename).xls type xl5
endif
end proc
So no matter what you do you are not going to be able to get 500,000 rows into an xls spreadsheet.
You could try copying to a CSV file (comma separated values) which van be any length but obviously you are going to lose any formating and I suspect Excel will still only read the first 65,536 records.
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.