I am using SQL Server 2008 R2. I would like to export SSRS file to .txt format.
I have added the following code to rsreportserver.config file.
<Extension Name="TXT" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering">
<OverrideNames>
<Name Language="en-US">TEXT</Name>
</OverrideNames>
<Configuration>
<DeviceInfo>
<UseFormattedValues>False</UseFormattedValues>
<NoHeader>False</NoHeader>
<FileExtension>Txt</FileExtension>
<OutputFormat>TXT</OutputFormat>
</DeviceInfo>
</Configuration>
</Extension>
After exporting, I can open the file in .txt format. But it is not preserving the exact SSRS format.
I need .txt file in the following format.
Invoice No. Invoice Date Payment Amount (SGD)
-------------------------------------------------------------------
E712850464 24/12/2013 4337.25
E712850463 24/12/2013 969.19
E712862842 08/01/2014 1234.69
E712867688 14/01/2014 554.73
E712869042 15/01/2014 581.05
E712872708 20/01/2014 812.94
E712876082 23/01/2014 457.23
","GIR"
"ab cd ef","abcd",", efg","hijk 508720","7171","081","006026150","19/02/2014","SGD","38.00","","2549871000","SGD","2549871000","SGD","15","20","","",
Invoice No. Invoice Date Payment Amount (SGD)
-------------------------------------------------------------------
E712862842 08/01/2014 1234.69
E712867688 14/01/2014 554.73
","GIR"
Please let me know the procedures to get the above txt format after exporting.
Thanks in advance for your help .....