Ado export to Excel, html, txt and csv

Post Reply
joseluispalma
Posts: 93
Joined: Mon Apr 30, 2012 9:10 am

Ado export to Excel, html, txt and csv

Post by joseluispalma »

Hello,

Happy New Year first. I would like to know if Fivewin already has a set of ADO functions to export the table to Excel, html, txt and csv. Thank you and greetings
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Ado export to Excel, html, txt and csv

Post by nageswaragunupudi »

FW_AdoToExcel( oRs/cSql ) --> oExcelSheet
Regards

G. N. Rao.
Hyderabad, India
joseluispalma
Posts: 93
Joined: Mon Apr 30, 2012 9:10 am

Re: Ado export to Excel, html, txt and csv

Post by joseluispalma »

Thank you.

What about html, txt and csv?
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Ado export to Excel, html, txt and csv

Post by nageswaragunupudi »

Once we have oExcelSheet object, we can save it as HTML, csv, or text.

Now that we see your interest in these features, we are adding individual function for export to xlsx, HTML, csv, txt and pdf both with and without using excel.

Meanwhile, you may like to test this:

Code: Select all

   ? oRs:GetString( AdoDefault(), 2 )
   ? oRs:GetString( 2, AdoDefault(), ",", CRLF, "" )
 
Regards

G. N. Rao.
Hyderabad, India
Post Reply