in

Prologika Forums

Business Intelligence to the Masses
Latest post 01-24-2008 9:55 PM by tlachev. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-24-2008 2:52 PM

    How do I design a CSV type render extension in rsreportserver.config with a Tab field delimiter?

    Teo,

    What should i place into the <DeviceInfo><FieldDelimiter></FieldDelimiter></DeviceInfo> section if I want a tab as my delimiter.

    I've tried the below example but no go. I've also tried

    <![CDATA[&#9;]]> <!-- this is the CDATA section with horizontal tab character hex code -->

    <![CDATA[ ]]> <!-- this is the CDATA section with an actual ascii tab character -->

    <![CDATA[%09]]> <!-- this is the CDATA section with an URL encoded (escaped) tab character -->


     

     

       <Extension Name="TXT1" Type="Microsoft.ReportingServices.Rendering.CsvRenderer.CsvReport,Microsoft.ReportingServices.CsvRendering">
        <OverrideNames>
         <Name Language="en-US">TXT1 (Tab Delimited Text File)
         </Name>
        </OverrideNames>
        <Configuration>
         <DeviceInfo>
          <FieldDelimiter><![CDATA[&#9;]]></FieldDelimiter>
          <Extension>TXT</Extension>
          <Encoding>ASCII</Encoding>
         </DeviceInfo>
        </Configuration>
       </Extension>

    Filed under: , ,
  • 01-24-2008 6:08 PM In reply to

    Re: How do I design a CSV type render extension in rsreportserver.config with a Tab field delimiter?

    Answer

    I haven't tried this lately, but to my understanding tab characters are not supported in the configuration file but can be passed as parameters to the report URL, such as

    http://server/reportserver/?/myreport&rs:Command=Render&rs:Format=CSV&rc:FieldDelimiter=%09

    If I hear otherwise, I will update this post.

  • 01-24-2008 9:55 PM In reply to

    Re: How do I design a CSV type render extension in rsreportserver.config with a Tab field delimiter?

    BTW, this will be fixed in SQL Server 2008, where you can set it as follows.  Note the actual “tab” whitespace in the FieldDelimiter value.

    <Configuration>

    <DeviceInfo>

    <FieldDelimiter xml:space="preserve">                </FieldDelimiter>

    </DeviceInfo>

    </Configuration>

     

Page 1 of 1 (3 items)
Copyright © 2005 Prologika, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems