Export to text and chr(13)||chr(10)

Hi All,
I have report (10g) and one column that formatted by PL/SQL to have multiply rows in it. This achieved by adding chr(13)||chr(10) to the row, so I have multiply rows result on report output.
But when the same report is exported to text file, then chr(13)||chr(10) are ignored and result is one long row instead multi-rows…
Is the way to overcome such result in export?
Thank you.
Edited by: user555411 on Nov 10, 2008 8:02 AM

You can get multiple lines by using repeating frames. That's on the line level.
On the field level, for example, if you have a varchar2 field containing string with 50 characters, but want to display in two lines, you can add a field in report layout that is not long enough for 50 char, but make the length of the box vertically variable in Property Palette. So when there is not enough space to show the whole string, it will go to next line.
You can try this if inserting chr(13) or chr(10) can't do what you want.

Similar Messages

  • How can I export to Text and/or CSV format and get correct page info?

    I am using CRVS2010 to upgrade an application from CRXI RDC to .Net.  When at runtime I generate the report and export to Text or CharacterSeparatedValues my page footers show Page -1 of 1.  Using the CRXI RDC, I see the correct page info in the footers.
    When I export to Text, I get the Page -1 of 1 for every page.  If I set LinesPerPage to zero, then I get it all on one page, which still has Page -1 of 1 at the end.
    If I export to CSV, I get Page -1 of 1 for every line.  If I use the viewer to review the report at runtime, and export from there, I cannot export as Text so I have no comparison.  However, the Export to CSV from the Viewer as Page -1 of 1for every entry just as my export does.
    What do I need to do to get the correct line info?  What is that is different from CRXI RDC and CRVS2010 .net that would impact this behavior?

    Yes, I am using SP2 for VS 2010 and I'm using the Page N of M formula in the page footer.  While my export code was not quite as simple as yours, I did it both ways in my test program with the same results.  A one page report whose footer says Page -1 of 1.
    Here's the relative code snippet:
    #if 0
        CrystalDecisions::Shared::ExportOptions ^exportOptions = gcnew CrystalDecisions::Shared::ExportOptions();
        exportOptions->ExportDestinationType = CrystalDecisions::Shared::ExportDestinationType::DiskFile;
        exportOptions->ExportFormatType = CrystalDecisions::Shared::ExportFormatType::Text;
        TextFormatOptions ^textFormatOptions = exportOptions->CreateTextFormatOptions();
        textFormatOptions->LinesPerPage = 0;
        textFormatOptions->CharactersPerInch = 11;
        exportOptions->FormatOptions = textFormatOptions;
         CrystalDecisions::Shared::DiskFileDestinationOptions ^diskFileDestinationOptions = exportOptions->CreateDiskFileDestinationOptions();
         diskFileDestinationOptions->DiskFileName = gcnew System::String("c:\temp\test.txt");
         exportOptions->DestinationOptions = diskFileDestinationOptions;
        thisReport.Export(exportOptions);
    #else
        thisReport.ExportToDisk(CrystalDecisions::Shared::ExportFormatType::Text, gcnew System::String("c:\temp\test.txt"));
    #endif
    Edited by: nlDevotie on Jan 9, 2012 11:59 PM

  • SSRS Export to text and NOTHING BUT TEXT!

    Is it possible to export a report to text only format? When I export my report to csv and then use the old DOS command to "type" the exported csv file there is a horrible little character at the beginning of the file. 
    I need to export just as text and nothing but text to drop the exported report into a 3rd party service which processes it. This squiggly little character is tripping the 3rd party system. I cant believe something so simple is not supported natively by SSRS?
    I'm using SQL Server 2008 R2. 
    Please help!
    LightSwitchShells.com

    Hi Hale,
    Please try to add the following text in the rsreportserver.config to work around the issue.
    <Extension Name="TXT" Type="Microsoft.ReportingServices.Rendering.CsvRenderer.CsvReport,Microsoft.ReportingServices.CsvRendering">
    <OverrideNames>
    <Name Language="en-US">TXT (Pipe Delimited Text File)</Name>
    </OverrideNames>
    <Configuration>
    <DeviceInfo>
    <FieldDelimiter>|</FieldDelimiter>
    <Extension>TXT</Extension>
    <Encoding>ASCII</Encoding>
    <NoHeader>true</NoHeader>
    </DeviceInfo>
    </Configuration>
    </Extension>
    By default, the  rsreportserver.config is locate in:
    C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer
    There is a document about Export Tab Delimited text file in SSRS 2008 R2, you can refer to it.
    http://revweblog.wordpress.com/2011/09/26/export-tab-delimited-text-file-in-ssrs-2008-r2/
    Hope this helps.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Exporting PDF text to html

    How can I export PDF text and post the exported text on a web page, to which I can then apply Google Translate?  Our organization post PDF articles from our journal.  (I can manually block and copy the text, so I know the text can be captured.)  I want a program/app/software to run on our website that will allow a user to extract the text from the PDF and display the text as html.  From there, the user can apply Google Translate.  So does anyone know how I can do this?  It doesn't seem like a difficult task -- I can do it manually -- but I want an app that will do it automatically.

    Thanks for the reply.  Do you have any idea how I could do what I want to do, perhaps with some other software?

  • Export to text procuding different results between SDK and Report Viewer.

    We have a 3rd party app that uses Report Viewer v2.5.991 to generate reports. We use the export to text feature and specify 60 lines per page. This produces a report with 60 detail lines and a footer that comes after the sixty for a total of 64 lines per page.
    I am a .NET developer and am using the CrystalDecisions SDK version 13.0.2000.0. I am using the same rpt file and automatically generating the text export using C# .NET. I am specifying TextFormatOptions LinesPerPage of 60. This is producing 60 lines total including the footer.
    Is there an option I am missing in my code to produce the desired results?

    No such thing as Report Viewer v2.5.991. Not as far as I know anyhow...
    Looking at the description of the TextFormatOptions property in the SAP Crystal Reports .NET API Guide:
    Gets or Sets the number of lines per page to use when you export to text.
    So, it looks to me like the property is behaving as expected. E.g.; it is the 3rd party that does something to get 64 lines per page. Perhaps setting the property to 64 will do the trick?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Can't select text when export in HTML and Images

    I am entirely new to Fireworks and I can't find anyone to teach me Adobe Fireworks. I followed some youtube tutorials but most of them are vague. I am still figuring the way to export from Fireworks to Dreamweaver, without affecting its contents like bitmap images and the text. When I export in HTML and Images format and opened the htm file, I can't select the text I've inserted in Fireworks. Can anyone tell me what I should do?

    I cant scroll below or above viewable section of text in any of my Macbooks, iMac, Mac Mini. Never have been able to, never could, except by pressing the arrow keys whilst selecting, to move up or down.
    Its stupid
    I dont have flash installed (never will do since my first virus of video ad sound running in background from Cnet was downloaded and kept returning until i deinstalled flash).
    I believe that this is a universal issue because none of my Macs can scroll out of screen when selecting text, which as a webmaster and developer, is a pain in the butt
    My issue is not in word documents, its in everything

  • Iba allow others to make text edits. What workflow are you guys using to allow others to make text edits once the iBook has been layed out and formatted?  Is it too late? Do I need to export txt then reimport the editted text and reformat it all again?

    iba allow others to make text edits. What workflow are you guys using to allow others to make text edits once the iBook has been layed out and formatted?  Is it too late? Do I need to export txt then reimport the editted text and reformat it all again?

    Hi Ken,
    Thanks for the reply. The project I am working on is a test project for a customer. They could potentially want a number of their educational subjects presented as an interactive text book. The intent of this first project with them is to establish a logical workflow that will allow us to efficiently estimate costs and allow for review throughout the design process. Having worked with customers on creative projects in the past I can anticipate that they will want a number of changes made once they see a working version of the interactive text book.
    It is a grim reality that no project can be fully edited and planned prior to working on it and I know revisions and changes are always made once the customer can see their product. It is ok with me if there is no easy way to pass the text back and forth from the customer and me without having to reformat everything but I just want to know that is the way it works in order to provide a realistic time estimate for the project.
    My hope was I would be able to export the formatted text, allow them to make edits and then reimport that formatted text. The style sheets I am using are from one of the iBooks Author templates.
    Do you know if there is a way to use (or export ) this style sheet so it can be used in a Pages Document?
    Or, would the best option be to have the customer install iBooks Author? This would require the customer to have a mac and the software so it doesn't work for all cases.
    Another idea I was considering would be to export the book as a PDF and have the customer add markup and notes to the PDF.
    All of these options do not seem too great to me.
    I am open to any ideas.
    Thanks,
    Rob

  • Hello i need a help about script to export translatable text strings from ai files and import them back

    Hello i need a help about script to export translatable text strings from ai files and import them back after editing, thanks in advance

    Lanny -
    Thank you for taking the time to help with this problem. Can I just say however that as someone who has posted a first comment here and quite clearly never used a forum like this before, your comment unfortunately comes across as very excluding. It makes me feel there are a set of unwritten rules that I should know, and that I don't know them shows that the forum is not for me. In short, it's exactly the kind of response that stops people like me using forums like this.
    I'm sure it's not intended to be received like this and I am sure that the way you have responded is quite normal in the rules of a forum like this. However, it is not normal for those of us who aren't familiar with forums and who only encounter them when they have a genuine problem. This is why I hope it is helpful to respond in full.
    The reason I posted here is as follows. I was directed here by the apple support website. The original comment seemed to be the only one I could find which referred to my issue. As there is no obvious guidance on how to post on a forum like this it seemed perfectly reasonable to try and join in a conversation which might solve more than one problem at once.
    Bee's reply however is both helpful and warm. This could in fact be a template for how new members should be welcomed and inducted into the rules of the forum in a friendly and inclusive way. Thank you very much indeed Bee!

  • Best settings to export text and vectors?

    please guide me in my frustration.
    I'm trying to make a title screen and I find that if I import vectors from AI, the export quality is terrible no matter the settings.
    I created a test file in both AI and Premiere Pro.
    AI
    Premiere Pro comp
    exported & captured at 100%
    if I import the AI file into AE and export as an uncompressed avi, I get the following result
    however if I import that into premiere and export, it's worse than any of the examples above.
    I'm clearly missing something, but a week's worth of searching hasn't turned up anything that I haven't already tried.
    I've tried using high quality PSD's, PNG, TIFF and nothing improves the quality.
    I have the same problem with text.
    thanks

    OK, I am going to keep track of my steps in this response.
    First I created a 4K file in Illustrator CC 2014. Then I slapped some text and some boxes and circles on the screen. Like this:
    Obviously the nice clean lines you expect from vector graphics.
    So then I exported that image from Illustrator as a PSD. The next step was to import it as is into Premiere Pro CC 2014, just to see how it looks on a 1920X1080 timeline. I imported it as a sequence but I suppose I could have flattened it. I also imported one of the videos from my codec testing that was 1920X1080 at 23.976 fps. I used that to create the sequence.
    This is a partial screen shot of how it looks in Premiere Pro in the Program Monitor at 100%. What I did was to use the new Set to Frame Size which automatically resized it using the Motion effect to 10.9 percent of scale.
    As far as I can tell the straight lines are perfect, the curved look fine, and the text? Well, not exactly perfect, but probably acceptable. A drop shadow would probably help.
    So the next step is to export it to H.264 and play it on my TV using a thumb drive. If that looks OK, I will upload it to YouTube.
    While I am waiting for it to export, I can tell you that the size I used for the Illustrator file was way too large. I only wanted to make things about four times too big, not 9 times as big. That is something you will have to decide for yourself. Just how big does it need to be so that when it is scaled down it looks good in Premiere Pro. Too large is just going to slow things down.
    It played OK on my TV. Not great, but OK. So I uploaded it to YouTube and it looked OK too. Play it back at 1080p and it looks sharp enough. Not perfect, but sharp enough for most things.
    I think that the only way to really test this is with the real logos..
    The export settings looked like this:

  • Parse User Pasted Text and use in SQL query

    I am trying to take some user pasted text (typically would come from Excel) and parse those values and put into a query.
    text area:
    ":P11_text"
    query:
    "select *
    from table
    where column in :P11_text;"
    I have tried some variations of replace and translate in order to parse that list of values...something like: translate(:P11_text, chr(10)||chr(13), ',' ).....and many variations of this.
    I have been able to replace the end of lines with the commas, but it appears that I am not getting my single quotes captured, even when trying to force them in. The best attempt returned single quotes and commas in between values but not at the beginning and end of the list of values.
    I would bet that there is an easy way to accomplish this or an easy way to accomplish the requirement in a different way altogether.
    Please point me in the right direction.

    I finally got this one figured out!
    create or replace type myTableType as table
    of varchar2(4000)
    create or replace
    function in_list( p_string in varchar2 ) return myTableType
    as
    l_string long default p_string || ',';
    l_data myTableType := myTableType();
    n number;
    begin
    loop
    exit when l_string is null;
    n := instr( l_string, ',' );
    l_data.extend;
    l_data(l_data.count) :=
    ltrim( rtrim( substr( l_string, 1, n-1 ) ) );
    l_string := substr( l_string, n+1 );
    end loop;
    return l_data;
    end;
    --The SQL Query is:
    select *
    from t wher c in (select *
    from THE
    ( select cast( in_list(translate(:p10_prolist,chr(10)||chr(13),',')) as
    mytableType ) from dual ) a);
    --Working like a champion!!!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How can I remove accessibility text and voice over from the logon screen?

    Before I log on to my Mac, in the logon screen I get accessibility text and voice over features enabled all the time. I can remove them by pressing cmd + f5 several times until they're gone (while I'm still in the logon screen). I would like to remove them permanently so that they never appear in the logon screen.

    Can you provide an example? I've been trying (for
    example) "select translate(' test one', ascii(' '),
    'X') from dual" with no luck.
    Thank you.To replace space, you should query like this:
    select translate(' test one', chr(32), 'X') from dual instead of select translate(' test one', ascii(' '), 'X') from dual Thanks,
    Dharmesh Patel

  • Exporting SMS text messages from the Treo 680

    What options are available to export SMS text messages and call logs from the Treo 680?  I need to create hard copys for evedence in a court case. I back-up files to the Palm Desktop on a Mac OS-X.
    I have searched through the Palm guide, but no discussion on extracting the SMS data.  I understand that the sms messages are in the file "Messages Database.pdb" and the call log is in "PhoneCallDB.pdb", question is how to extract the records.
    This question was solved.
    View Solution.

    Richard-Treo680 wrote:
    What options are available to export SMS text messages and call logs from the Treo 680?  I need to create hard copys for evedence in a court case. I back-up files to the Palm Desktop on a Mac OS-X.
    I have searched through the Palm guide, but no discussion on extracting the SMS data.  I understand that the sms messages are in the file "Messages Database.pdb" and the call log is in "PhoneCallDB.pdb", question is how to extract the records.
    Google is your friend!
    http://www.treodesktop.com/
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Export to Text File

    Post Author: hepburn
    CA Forum: Exporting
    I'm using Visual Studio 2005 Team Suite which I believes has Crystal Reports 10 installed.I'm trying to export to a text file. Here's the code I have so far:        DiskFileDestinationOptions diskOpts =        ExportOptions.CreateDiskFileDestinationOptions();        // set the export format        ExportOptions exportOpts = new ExportOptions();        exportOpts.ExportFormatType =           ExportFormatType.RichText;        exportOpts.ExportDestinationType =           ExportDestinationType.DiskFile;                diskOpts.DiskFileName = AbsolutePath("c:/pleasework.txt");        exportOpts.ExportDestinationOptions = diskOpts;        _crReportDocument.Export(exportOpts);Is RichText the only text option I have?? I've been googling and it sounds like I may need to install a dll to export to text. Can anyone confirm that?Thanks much...

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by David Brown ([email protected]):
    Liv,
    Just tried with an individual file export and this worked. What are you trying to export?
    David<HR></BLOCKQUOTE>
    null

  • Export to Text failing when Report height is more than 23 inches

    I have a problem while exporting to Text, when report height is more than 23 inches. It's failing with "an unhandled exception occurred in crw32.exe [3856]"
    Both Crystal Reports 2008 and Crystal Reports XI Release 2 are failing. Export to PDF is working fine.
    I am trying to design a lengthy report and export to text.
    I searched in forum with out any results.
    It would be great, if some body can point me in right direction. Thank you.
    Regards,
    Raveendra

    Hi Raveendra
    To work around this error message, disable DEP by performing the following steps:
    1. Click Start > Settings > Control Panel.
    2. Double-click 'System'. The "System Properties" dialog box appears.
    3. Click the 'Advanced' tab.
    4. Click 'settings' under 'performance'.
    5. Click the 'Data Execution Prevention' tab
    6. Select 'Turn on DEP for all programs and services except those I select:'.
    7. Click 'Add'.
    8. Browse for the application CRW32.exe. This file is located in:
    C:\Program Files\Business Objects\Crystal Reports 12\
    9. Select CRW32.exe and click 'Apply'.
    10. Click 'OK' to close the 'System Properties' dialog box.
    11. Log on as an Administrator and start Crystal Reports.
    Now try to export report to the text format and observe the behavior.
    Regards
    Girish Bhosale

  • Export to Text file does not page

    Since I applied SP 7 for Crystal 9, when I export a report to a text file it does not page and print the report header on each page. It prints the report header once and one lone continuous page of information. My report was export to text with a page header on each page before I applied the service pack. How do I get it to page in the text export and print the page header on each page?

    In 8.5 the default behavior of the export to text was to not paginate. With 9 you have a paginate option when you manually export data to text, however when processing in batch 
    Mary Vertz wrote:
    export in the background
    you had no such option and it simply defaulted to 60 even for those reports that were suppressing the page header. This causes those text files to have a new-page marker at the start of every 62nd line. This causes the data on that line to be moved 1 character to the right and caused many issue with 8.5 backwards compatibility as this functionality was used for flat file interfaces for instance with the bank for positive pay.
    In SP7 they addressed this issue and changed the default behavior to not paginate and enabled a parameter to be passed to control pagination during batch processing.
    If that
    database application
    is PeopleSoft, the parameter that needs to be added to the process request is  -LN<number of lines> ex. -LN60
    Also note that the CPI can be set via the command line as well. For PeopleSoft it's -CPI<numerical value> which defaults to 12 if it isn't specified.
    Unfortunately I do not have the SP7 release notes handy to provide more detail on these options.
    Thanks
    Drew

Maybe you are looking for

  • HT4009 how do I remove credit card

    trying to remove credit card info from app store. How is this done?

  • Mod_osso behavior differences with 10gR3 Oracle HTTP Server 2

    We have an install of standalone 10gR3 Oracle HTTP Server 2 (i.e. the Apache 2 version), and have noticed that the behavior of mod_osso is different than the regular 10gR3 Oracle HTTP Server (i.e. the Apache 1 version). We use the following in our mo

  • Macbook Pro won't turn on anymore (no sound, no power etc.)

    I have a Macbook Pro I purchased in February of 2008. Earlier this evening I was working on it, plugged in, and put it aside with the screen open. I woke it up from it's sleep mode, did a little work, then closed it and put it on the side again. A fe

  • BlackBerry App World availability in Pakistan

    @teamBlackberry 2 days back BlackBerry App World was finally available in Pakistan (working on wifi as well as with BIS) even though Pakistan is not yet listed in supported countries.. but today it suddenly vanished again may I know when is RIM final

  • MM_validateForm errors in Firefox

    Hi, I have a website that uses the MM_validateForm script from Dreamweaver. It would seem that it is working fine to validate all the fields, except for the email input field. In IE it ignore it completely (you can submit the form without filling in