COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Topic started by: thecustomizer on 05 Jan 2006 04:27:36 AM

Title: CSV Report Output
Post by: thecustomizer on 05 Jan 2006 04:27:36 AM
Hi All,

The ReportNet documentation states that the CSV output generated from reports can only be "Tab-delimited" and not actually Comma-separated. I need to have the reports generated with actual comma-separated values.
Can anybody suggest a way/hack to achieve this?? Any ideas would be most appreciated.

Thanks in advance...
Title: Re: CSV Report Output
Post by: MrO on 05 Jan 2006 06:58:58 AM
I don't see how you can do it from within CRN.

You can open it in notepad and replace all tabs by comma's.  :-\ If you want it automised, create a small program.
Title: Re: CSV Report Output
Post by: Draoued on 05 Jan 2006 07:10:00 AM
I suppose you have a basic list report.

What if you have only one column in your report.
This can be achieved by unlocking the list.
Then you drag all the fields in this column , and you manually insert a string item between all the fields.
In the String item , you put a comma.

Then when exporting this report to CSV , you have a list comma separated, and no tab at all as you have only one column.

I have not tested it, but I assume it should work.
Title: Re: CSV Report Output
Post by: thecustomizer on 05 Jan 2006 07:14:39 AM
Thanks but modifying every individual report would not work for me cause there are hundreds of reports that we are talking about.

Thanks..
Title: Re: CSV Report Output
Post by: bdybldr on 05 Jan 2006 08:02:17 AM
I just found that, when exporting to CSV, if you open the report and save it as .csv, it opens in Notepad at comma delimited.  When you save it instead of opening, in Notepad it displays as tab-delimited.  Pretty strange.

Is it not a viable option for the users to open the report and save it as .CSV?