Ado export to Excel, html, txt and csv

Ado export to Excel, html, txt and csv

Postby joseluispalma » Tue Jan 05, 2021 2:51 am

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
joseluispalma
 
Posts: 109
Joined: Mon Apr 30, 2012 9:10 am

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

Postby nageswaragunupudi » Wed Jan 06, 2021 9:23 pm

FW_AdoToExcel( oRs/cSql ) --> oExcelSheet
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10465
Joined: Sun Nov 19, 2006 5:22 am
Location: India

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

Postby joseluispalma » Thu Jan 07, 2021 1:18 pm

Thank you.

What about html, txt and csv?
joseluispalma
 
Posts: 109
Joined: Mon Apr 30, 2012 9:10 am

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

Postby nageswaragunupudi » Thu Jan 07, 2021 8:16 pm

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  Expand view
  ? oRs:GetString( AdoDefault(), 2 )
   ? oRs:GetString( 2, AdoDefault(), ",", CRLF, "" )
 
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10465
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 40 guests