Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to export Cursor/Table to Excel which are exceeding more than 65k rows 1

Status
Not open for further replies.

Saif_Abc

IS-IT--Management
Apr 7, 2021
27
AE
Hi,

Please refer to the above mentioned subject, I want to export into excel a table which has 170,421 records.

Thanks

Saif
 
Which version of Excel are you using?

How are you trying to do it?

What error message are you getting?
 
How are you trying to do it?

What error message are you getting?
 
Hi,

There is no error message, only it is truncating the records which are more than 65k.

Thanks
Saif
 
Are you able to output the data to a csv file and then import that to Excel?

This might pinpoint where the problem lies.
 
64k (65536) is a limit of the formats VFP exports via COPY TO and EXPORT.
I think pjw001's question is a solution, as you can write out longer csv files.



Chriss
 
Thanks PJW001 it is done.

I converted into CSV and done.

Thanks

Saif
 
Thank you for the feedback Saif. Glad to be of help.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top