Trying to export to a CSV file

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
Matthew_Pennell_(Guest)
Posts: 3
Joined: Tue Oct 10, 2017 12:44 pm

Trying to export to a CSV file

Post by Matthew_Pennell_(Guest) » Mon May 11, 2009 12:12 pm

We want to add the ability of creating CSV files from our reports in our application. I^ve read the user guide and thought I had things understood. We currently provide txt, rtf, and pdf outputs but need the csv output as well.____Here is the code that I inserted:__RI_PRINTER=CSV__RI_WPTR=Default____When I run our program after these changes, I get an error when I try to send the report to a CSV file.__The error is: "R&R Xbase - No fields to export on selected line". OK is my only option.____What other parameters do I need in order to make this work?____Thanks in advance!____P.S. We are using R&R Infinity.

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Trying to export to a CSV file

Post by kfleming » Tue May 12, 2009 8:54 am

The default export band line is a record band and your report probably does not have a record band.__To fix this, open the report, go to the export dialog, select CSV as the export type and then in the Options tab, select the band line that you wish to export.__Then save the report.__Runtime will then use the saved band line setting rather than the default of a record band.____Kathleen__R&R Support

Matthew_Pennell_(Guest)
Posts: 3
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Trying to export to a CSV file

Post by Matthew_Pennell_(Guest) » Tue May 12, 2009 10:23 am

Thank you Kathleen.

Post Reply