REPORT export to Excel

REPORT export to Excel

Postby ukservice » Wed Jan 05, 2011 9:50 am

Is possible?

Thank you
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: REPORT export to Excel

Postby Marcelo Via Giglio » Wed Jan 05, 2011 12:11 pm

Marcelo Via Giglio
 
Posts: 1064
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: REPORT export to Excel

Postby TecniSoftware » Wed Jan 05, 2011 1:49 pm



Los links a la clase repexcel estan muertos.
Alguien tiene una copia ?

Muchas gracias
Alejandro Cebolido
Buenos Aires, Argentina
User avatar
TecniSoftware
 
Posts: 235
Joined: Fri Oct 28, 2005 6:29 pm
Location: Quilmes, Buenos Aires, Argentina

Re: REPORT export to Excel

Postby ukservice » Thu Jan 06, 2011 10:01 am

Hi,

Links are broken!!.

Thanks
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: REPORT export to Excel

Postby anserkk » Fri Jan 07, 2011 10:36 am

Links are broken!!.


ReplExcel
http://rapidshare.com/files/441396864/RepExcel.zip

Regards
Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: REPORT export to Excel

Postby TecniSoftware » Fri Jan 07, 2011 1:47 pm

Thanks for the links!


Best regards
Alejandro Cebolido
Buenos Aires, Argentina
User avatar
TecniSoftware
 
Posts: 235
Joined: Fri Oct 28, 2005 6:29 pm
Location: Quilmes, Buenos Aires, Argentina

Re: REPORT export to Excel

Postby ukservice » Fri Jan 14, 2011 8:39 pm

Hi,

It does not work. It says that method save() does not exist.

Anyone got it working?

Why does not standard FWH Report class support exporting to Excel, Word and Html?
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: REPORT export to Excel

Postby reinaldocrespo » Mon Jan 17, 2011 3:26 pm

ukservice;

You make a legitimate point. The change to treport that exports to excel using tfilexls class has been around for many years now. Why hasn't it been officially integrated? There is no logical answer.

Anyway- i do have it working. At least with Ramon Avendaño's tfilexls class. It works quite well. You need to add to your project the following prgs:

tSalxls.prg
mreport.prg
xlserror.prg
xlsfunc.prg
pdreport.prg

I must admit that it's been working so well for so long now, that I can't remember exactly how it works. Basically mreport inherits from treport taking care of everything and including a new method: :Saveas() where all you need is to call seding "excel" as parameter. Like this:

oreport:saveas( "excel" ) ...and you get a beautiful excel spreadsheet identical to the report, including lines, fonts, etc...

pdreport changes rptbegin(), rptend()... to call the new class declared in mreport. Some like that. But I've made so many changes to the prgs that ties it to the preview which I also had to change to allow for my own botton bar, I'm afraid my prgs will not work for you.

Maybe someone/somewhere has the original prgs from Ramon. I -myself got help on these very same forums years ago with the same subject and that's how I got the prgs in the first place. I'm sure many people are using Ramon's excel class.

Reinaldo.
User avatar
reinaldocrespo
 
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Re: REPORT export to Excel

Postby jose_murugosa » Tue Jan 18, 2011 1:55 pm

viewtopic.php?f=17&t=6849

Para utilizar la clase repexcel se requiere de la lib repexcel y de la lib filexls.

Ambas y muchas otras las hallarás en el post arriba :D

Espero sea de ayuda. :)
Saludos/Regards,
José Murugosa
"Los errores en programación, siempre están entre la silla y el teclado y la IA!!"
User avatar
jose_murugosa
 
Posts: 1180
Joined: Mon Feb 06, 2006 4:28 pm
Location: Uruguay


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 52 guests