SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Development Tools
 Reporting Services Development
 Exporting to Text File From SSRS
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

SunnyDee
Yak Posting Veteran

76 Posts

Posted - 10/30/2013 :  14:29:11  Show Profile  Reply with Quote
I am trying to generate a report which can then be saved as a text file with a pipe delimiter. Since SSRS does not have a text file output option, the users are saving the report in Excel and then saving to a text file.

The report design is one field in a one column tablix that has all of the fields strung together with the "|" separating each field. It looks fine when opened in Excel. The issue is the line feeds and white spaces.

The first version of the report did not have line feeds. I added a trim function and the Chr(10) function. This resulted in extra white spaces.

How can I get the report to export to Excel with the correct formatting?

And I know this would be better in SSIS. Due to business reasons, the file must be accessible via a SSRS report.

Thanks!
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000