Export to Text limitation

1. Create a Crystal Report.
2. Add a Text box.
3. Type a big sentence so that reaches near 20th inches.
4. User the following Page Setup options.
a) Check the box "Dissociate Formatting"
b) Select "User Defined" and Unit=Inches
c) Horizontal=25
d) Vertical=11
e) Left=0.25
f) Top=0.25
g) Right=0.25
h) Bottom=0.25
5. Export the report to Text/DiskFile....the new text file is empty
6. Change the value of "Horizontal to 22" export the report...the text file has data....
Is there any workaround....Is this a limitation...

Sorry Vinay...
Your suggestion does not work untill the textbox size is greater than 23 inches...
If we bring the text box size to 22 inches then olny it work...otherwise export generates a blank text file....
I am making the workflow more clear as below....
1. Create a Crystal Report. (No connection)
2. Add a Text box.
3. User the following Page Setup options.
a) Check the box "Dissociate Formatting"
b) Select "User Defined" and Unit=Inches
c) Horizontal=25
d) Vertical=11
e) Left=0.25
f) Top=0.25
g) Right=0.25
h) Bottom=0.25
4. Drag and resize the textbox and type a big sentence so that it reaches near 24th inches.
5. Export the report to Text/DiskFile....the new text file is empty
6. Resize the textbox to 22 & export the report...the text file has data....
Edited by: Rakesh Sinha on Feb 5, 2009 7:22 AM

Similar Messages

  • Unable to Export to Text when using Enterpirse

    Post Author: dmface15
    CA Forum: Exporting
    I created a report in Developer and have the ability to export the report to a text file. However, when i saved to report to Crystal Server and run it I do not have the option to export to text. What is the difference and why the limitation?

    Usually your cd-burning-software should be able to show you if it supports CDText or not (for example Nero has it's own info-tool that informs you about all features of your drive).
    But if your drive is only one year old it really should support CDText.
      Windows XP   iPod mini 2nd gen.

  • 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

  • Export to text problem

    <p>Hi ! Everyone,</p><p>I&#39;m using crystal report 7. I report file which is calling from PB. Crystal report display the output properly.</p><p>When I&#39;m trying to export to text format..it exports properly excepts few text columns get TRUNCATES....</p><p>I have checked CharPerInch setting is available for 8.5 onwards .</p><p>for CR7 is there any patch....</p><p> Also i want to suppress "Number and Date Format Dialog" dialog box which appears exporting to crystal report to CSV format</p><p>could you help?</p><p>Thanx ....</p><p>Vishwas</p>

    I am assuming PB is Power Builder. The issues with PB in CR 7 was that PB could get structure sizes properly. The fix was to build and app using MS C++, run in debug mode and get the actual size required and add that value to PB.
    Also, CR 7 is well past it's life cycle so we have no more samples or patches available.
    Please upgrade to a develoment tool that supports .NET Assemblies and CR Xi R2 or above.

  • Export to text - formatting

    Post Author: Ralphred
    CA Forum: .NET
    Im trying to export a report to a .txt from within a vs2005 program, using CRXIr2. I have been able to export to the text file through code since the option to export to text isn't available for some reason when in vs2005. The problem I have now is that when I try to change the Characters Per Inch Textformatting option they do not change and the report gets exported with the default of 12 characters per inch, and some of my data is cut off.
    Here is the code that I am using and would really appreciate if anyone knows a way around this and can help out.
    Thanks
    Public Sub ExportToText(ByVal ReportName As CrystalDecisions.CrystalReports.Engine.ReportDocument, ByVal ParamName() As String, ByVal ParamValues() As String)
    Dim MyReportDocument As CrystalDecisions.CrystalReports.Engine.ReportDocument = ReportName
    Dim Field As CrystalDecisions.Shared.ParameterValues
    Dim Value As CrystalDecisions.Shared.ParameterDiscreteValue
    Try
    If Not ParamName Is Nothing Then
    For i As Integer = 0 To ParamName.Length - 1
    Field = New CrystalDecisions.Shared.ParameterValues
    Value = New CrystalDecisions.Shared.ParameterDiscreteValue
    Value.Value = ParamValues(i)
    Field.Add(Value)
    MyReportDocument.DataDefinition.ParameterFields(ParamName(i)).ApplyCurrentValues(Field)
    Next
    End If
    Dim exportOpts As New ExportOptions
    Dim diskOpts As DiskFileDestinationOptions
    diskOpts = ExportOptions.CreateDiskFileDestinationOptions()
    CrystalDecisions.Shared.ExportOptions.CreateTextFormatOptions.CharactersPerInch = 16
    exportOpts.ExportFormatType = ExportFormatType.Text
    exportOpts.ExportDestinationType = ExportDestinationType.DiskFile
    diskOpts.DiskFileName = "c:\exporttotext.txt"
    exportOpts.ExportDestinationOptions = diskOpts
    '**************************************** Here is where I set and nothing happens
    ExportOptions.CreateTextFormatOptions.CharactersPerInch = 16
    MyReportDocument.Export(exportOpts)
    Catch ex As Exception
    MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Print Report")
    Finally
    MyReportDocument.Close()
    MyReportDocument.Dispose()
    End Try
    End Sub

    Yes. Use character styles, and map XML tags to the styles. It's the same process as for paragraph styles.

  • 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

  • Export to text removes trailing spaces in XI R2

    I've found an article that talks about the problem of the export to text removing trailing spaces, but the article mentions that this is fixed in Crystal Reports XI with a newer version of u2ftext.dll to version 11.0.0.941.
    [1218375 - Trailing spaces ignored when exporting to Text format|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333333373335%7D.do]
    I'm using Crystal Reports XI R2 and my u2ftext.dll version is already 11.5.11.1470.
    I'm I missing something or is there another solution to the issue in XI R2?
    Thanks,
    Jeff

    2 Years, multiple people are asking this question.......Does anyone in support have a response for keeping the trailing spaces intact during export?

  • Many problems with the 'Export to Text' (.txt) in CR Xi

    Hi,
    I have listed many problems with the 'Export to Text' (.txt) function of CR Xi.
    These problems are related to this export format only (meaning everything works fine in the Viewer or in the 'Export to PDF')...
    - Multi-columns layout do not export as Multi-column (export only a one column);
    - Numeric values with parenthesis for negative values or with a fix currency sign at the leftmost position are not exported correctly;
    - Fields having a Suppress formula which is "WhilePrintingRecords" do not appears when exported;
    - Fields with 'Suppress double value' checked are not always suppressed when exported to Text.
    - 'Keep Group Together' flag is not working.
    - 'Reset Page Number After' simply does not works when exported to text;
    - 'Keep object together' on TextBox/Section is not working.
    - Whenever a group is ending on the last line of a page, the the following page as the same Group header as the previous group with no records until the page is filled, then the PageBreak and PageHeader is missing but the records of the following group appears.
    I would like to know what is the status of the 'Export to Text' function (is it a deprecated function not supported anymore???).
    If still supported, when will these bugs be fixed???
    Thanks

    Hi Rene
    Export to Text is supported till date. Crystal Reports 2008 also supports this with Keep together working however when I tried with format with multiple columns, it didnot show up in the exported text file.
    Regards
    Sourashree

  • How do I do Export to Text? Using JSP

    Hi All,
    I need your help for doing Export to Text functionality.
    If I hit on "Export to Text" link, the file dialog will be open and I save the data.
    Is this possible through response?
    like response.setHeader("Content-type","application/text");
    If not possible through response then give me a another solution
    Thanks
    Amit

    http://forum.java.sun.com/thread.jspa?threadID=5199777&messageID=9792760#9792760

  • Crystal Report 2008 export to text problem

    Hello,
    I am using Crystal Reports 2008 for generating reports in our WPF application. In this application, we are exporting the report to txt file on a button click. Now the application contains a form called u2018Print Manageru2019, through which the user can print the exported report(text files). Now the issue, when we try to the any of the exported report file through the application, the printer leaves alternate blank pages. The printer used in this case is DOT MATRIX EPSON LQ-1150II ESC/P2. We even tried printing the text file on HP Laser jet 4600, but the same issue is faced.
    Also, please note that when I try to read the exported txt file, a formfeed(u2018\fu2019 page break) character  can be seen  at the place where the printer leaves a blank page. Hence, my concern is, Is there any property of crystal report that I am missing on or is this a printer driver issue? But if it would have been a driver issue, then changing the printer might have solved the issue.
    I also  tried  doing u2018Keep Togetheru2019 property = false of all the sections of the report. Also, I found that the u2018New Page Afteru2019 property = true and disabled for the u2018Page Footeru2019 section. So I set u2018New Page Afteru2019 property = false programmatically as
    rdTest.ReportDefinition.Sections["Section5"].SectionFormat.EnableNewPageAfter = false;
    but no luck.
    If anyone has faced similar problem or have any clues, please help!
    Any kind of help in solving this issue will be highly appreciated.
    Thanks in anticipation!

    Good morning.
    We've got something to get straight first
    When you say "...from the Report Viewer. The report printed as expected on HP printer...", do you mean the viewer of the .NET app, or the viewer of the CR designer?
    And version 12.0.0.683, is very old (well as far as CR is concerned anyhow   ). That version is SP 1, we are now on SP 2. So that will be the place to start. Get to SP 2 which can be downloaded from here;
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    Ludek

  • 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

  • Crystal report : Export to Text format from BI Launch pad

    Hi,
    We are facing issue in exporting the Crystal report to text format option from BI Launch pad view mode. Currently BI launch pad doesn’t support export to Text format option for crystal report in view mode. But export to text format option is feasible in schedule mode. But customer is not interested in exporting the reports through schedule mode.
    Please advise, if we have any alternative way of exporting the crystal report to text format option from BI Launch pad.
    Thanks,
    Chinnu A

    Hi Chinnu,
    The question is better suited to be asked in the BI Platform space.
    -Abhilash

Maybe you are looking for

  • Can I use tags I created in SE if I upgrade to Photoshop Album V2?

    I am changing from Album Starter Edition 3 to Photoshop Album V2. I have already created a lot of tags in SE3. Can these be reused when I install Album V2?

  • Save Grid Alv as Local File Problem

    Hi, The Alv output via REUSE_ALV_GRID_DISPLAY, when i export ALV to local file as Excel some cells are converted the value. Ex. 06MAY51   " display as char on ALV, there is no problem, this value of a plaque of a vehicle 06.May.51   " display as date

  • Saved search DDLB button on an Assignment block toolbar

    Hi, We have a requirement to add a button on an Assignment block (in an overview page) similar to Saved search DDLB button/functionality present on the Header Area. Any ideas to achieve this. Please let me know. Thank you Anji

  • Flickr changing Master File name in sync'd albums

    Has anyone noticed that when syncing with Flickr from Aperture that the sync'd images get altered Master File names? This doesn't have an effect on the images in the Aperture projects, only on the images in the sync'd folders under Flickr. I just fin

  • Serial numbner not valid????

    Adobe installer sys my serial number is not valid. The product is registered in my account. How come and what to do?