Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Printing BIRT report out it to CSV
Printing BIRT report out it to CSV [message #73960] Wed, 14 September 2005 16:55 Go to next message
Eclipse UserFriend
Originally posted by: sai.yelamanchili.gmail.com

Hi
How can I printout a BIR report to CSV. Can I do this ?

Thanks
Sai
Re: Printing BIRT report out it to CSV [message #73996 is a reply to message #73960] Wed, 14 September 2005 17:58 Go to previous messageGo to next message
Mike Boyersmith is currently offline Mike BoyersmithFriend
Messages: 143
Registered: July 2009
Senior Member
hi Sai

Not sure if birt supports output to that type, just PDF and HTML as far
as I know.

Howver, take a look at the following birt 2.0 feature specifications at:

http://eclipse.org/birt/wiki/index.php?n=BPS.BPS

I looked around and possibly BPS32 might be where you might want to add
comments..not sure.





Sai Yelamanchili wrote:
> Hi
> How can I printout a BIR report to CSV. Can I do this ?
>
> Thanks
> Sai
Re: Printing BIRT report out it to CSV [message #74780 is a reply to message #73996] Fri, 16 September 2005 10:38 Go to previous messageGo to next message
Nathan McKeown is currently offline Nathan McKeownFriend
Messages: 27
Registered: July 2009
Junior Member
This is a high priority feature for my work as well.

Mike Boyersmith wrote:
> hi Sai
>
> Not sure if birt supports output to that type, just PDF and HTML as far
> as I know.
>
> Howver, take a look at the following birt 2.0 feature specifications at:
>
> http://eclipse.org/birt/wiki/index.php?n=BPS.BPS
>
> I looked around and possibly BPS32 might be where you might want to add
> comments..not sure.
>
>
>
>
>
> Sai Yelamanchili wrote:
>
>> Hi
>> How can I printout a BIR report to CSV. Can I do this ?
>>
>> Thanks
>> Sai
Re: Printing BIRT report out it to CSV [message #74866 is a reply to message #73960] Fri, 16 September 2005 13:34 Go to previous message
David Trainor is currently offline David TrainorFriend
Messages: 23
Registered: July 2009
Junior Member
If you need a quick workaround you could open a file in the report's
initialize() method and close it in the report's afterFactory() method.

Then on the Table's onRow() method - write a csv line to the file using
row["column-name1"] + "," + row["column-name2"] + "," +
row["column-name3"]...

you could do this in the main report - but it would always create a csv
file - or you could write another "csv driver" report that does this when
the user clicks on a "Download to CSV" link in the main report - which
runs the csv driver report and then points the browser at the resulting
csv file
Previous Topic:Running external apps
Next Topic:Feature 'Title' not found. (test.chart, 213, 14)
Goto Forum:
  


Current Time: Sat Dec 21 13:59:37 GMT 2024

Powered by FUDForum. Page generated in 0.03235 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top