Text truncated

Post Author: Butters
CA Forum: .NET
Hi All,
I've seen a couple of posts regarding text truncation on a crystal report. However, I'm new to crystal reports and I wasn't the person who created the report so am unsure of the settings, and why my text output is being truncated.
Scenario
We have a number of C# classes that create the necessary Report Document objects, set the file path details, output options etc and call the Export method to create the PDF document. However, the text that exists before the file is created, is truncated in the output.
The report file has a Field on (IFieldObject) that is set to retrieve the necessary text, with "Can Grow" set to true. It renders 20 pages of rtf text but doesn't convert as necessary because the text is truncated and therefore incomplete.
I can see that this is a problem in the C# sharp code, and suspect it is more to do with the report (rpt) file and this specific field.
Any help would be greatly appreciated.
Thanks
Butters

Post Author: Argan
CA Forum: .NET
There have been patches for this that allow a registry key called Forcelargerfonts.
By default, newer versions force the font to be smaller on pdf exports to keep truncation from happening.  If you are using an old version (say bundled vs.net 2002, 2003, cr9, etc) then you may not have this.  Check the kbase to see if there is a patch for your version of CR.

Similar Messages

  • Huge combo boxes in JFileChooser/JList text truncated in 1.4.0

    Hi there,
    We have an application which works fine on Sun JRE 1.3.1
    Recently we started supporting Sun JRE 1.4.0
    But we have some problems with GUI in Sun JRE 1.4.0
    In the JFileChooser dialog the combo box for Folder name
    and file filter is atleast twice as big as normal in when
    using JRE 1.4.0. This seems to be happening only in some particular
    machines. And if we run the application using JRE 1.3.1, on the machine which has problems with JRE 1.4.0, everything works fine.
    Also we use a JList with a custom cell rendered in the application.
    the cell renderer returns a JLabel component with "monospaced" font set in it. In some machines (same machines which has the JFileChooser problem) the upper half of each item in the JList is truncated. This also works fine is we use JRE 1.3.1 on the same machine.
    Please help me if you have any info on these issues.
    Any pointers to related issues on this forum or bug database is highly appreciated.
    Thanks in adance

    Hehe. Give it more time. Could you explain more about what you mean?
    You have a form with the select combo box in it. The user chooses a value from the combo box. Then submits the form. You want to put the value of the option inside the sql statement right? Not the words displayed by the option, but the item you put in the value section right?
    If so, its rather easy:
    query = "INSERT INTO Table VALUE( comboType, \""+request.getParameter( "text")+"\"); The \" might not be necessary depending on how the value is stored.

  • Alert text truncation

    Hi all,
    Am showing messages with the Alert control. Am didn't aet any width and height property for the alert box whenever showing messages. In some cases the messages getting truncated in the alert box and a vertical scrollbar shown in the alert box.
    How avoid message truncation in Alert control?
    Thanks and Regards,
    Manikandan.S

    Actually i meant wrong... The text getting hidden and we have to scroll the mouse to see the remaining text. Actually Alert control designed for to resize its width and height based on the text length only. If yes means when the text will truncate?

  • Text truncation

    Hello ppl,
    I have a smartform wherein I am printing some text in one of the cells of the MAIN area of a Table.
    In the cell, the following code is inserted:
    CONCATENATE l_var  lwa_work INTO l_var SEPARATED BY ','.
    The variable l_var is of type string.
    The error is that when the smartform is printed, the text printed by l_var is truncated such that it prints only 255 characters.
    Please suggest how to rectify this error.
    Thanks,
    Dawood.

    Hi
    Please check below ways....
    Define a character field of the desired length and use this variable in the smart forms. Strings will be able to hold a maximum of 255 characters.
    (or)
    Smartform prints only first 255 chars of the string. instead of two strings try addding the same field with offsets:
    &G_TEXT(255)&&G_TEXT255(255)&&G_TEXT510(255)&
    (or)
    using offset values.
    string1 = string+0(255).
    string2 = string+255(255).
    Regards
    Vasu

  • What to do about text truncated from Adobe Reader

    Have a PDF file that when I copy from Adobe 9.0 or 9.3 and then paste into Word 2003 or Word 2007, the text is NOT complete.
    When I copy the same document's contents using Adobe 6 and then paste into Word 2003 or Word 2007, the text is complete.
    I use the Edit | Copy File to Clipboard then switch to Word and paste it.
    If I use Word's Edit | Paste Special command and paste it as plain text, I get the entire text.
    It also occurs if I copy just a subsection with the Edit | Copy command.
    The only pattern I have found is that the copied text seems to stop after text that is pasted as a table in the Word document.
    If I paste the Clipboard's contents into Notepad or Excel, I get the entire document.
    WordPad also truncates the text.
    I tried other programs and found that if what is pasted in is the RTF version of the Clipboard text, then the Clipboard text is truncated after the first table. If the text version of the Clipboard's contents are pasted, the entire text is present.
    So, what do I need to do in order to get all of the text when I paste the text into Word (as RTF), I get all of the text.

    some files have probably been removed from your original installation.  system cleaners/optimizers often do that.
    to remedy, reinstall ps cs6 and retry updating.

  • Safari .svg text truncation bug

    I hope that this picture will make the problem clear. I'm using exactly the same .svg image in both cases - it's created by Archi.
    As you can see, the text in the boxes is truncated in the case of Safari - but not with Firefox.
    Any suggestions as to how to fix this?

    This appears to be fixed in the latest nightly build. You can check those out here.
    http://nightly.webkit.org/
    Find out more info regarding Safari's development on the blog.
    http://webkit.org/blog/

  • XPath text truncating chars

    Hi all,
    I have the following XML stored in a table. The column that this xml is stored in is of type XMLTYPE.
    CREATE TABLE CM_WRK_RAW_TAG
    PACKET_ID RAW(16) NOT NULL,
    ORIGIN_ID RAW(16) NOT NULL,
    RAW_TAG_XML       SYS.XMLTYPE                 NOT NULL,
    LAST_UPDATE_DATE DATE NOT NULL
    This is this XML that I am storing, in the column RAW_TAG_XML
    <ResearchCMPackets>
    <Packet>
    <NonEnumTag>
    <Value name="Title" tagOrigin="Contributor">6417 SANKYO: アナリスト補足説明会は好印</Value>
    <Value name="PublishDate" tagOrigin="Contributor">2008-09-12</Value>
    </NonEnumTag>
    </Packet>
    </ResearchCMPackets>

    If you search this forum you will see some similar threads.
    Extract() truncates large node-contents

  • URL in mail text truncated

    Hi All,
        I am using sendmail step of workflow to send notification.  I have to include URL in the mail text.  If i include a URL which spans over 3 lines in the task description - only the first line holds the URL link and the remaining 2 lines is getting displayed as normal text.
        Any valuable suggestions are welcome and rewarded.
    Thanks & Regards,
    Liz.

    Hi
    Please see SAP Note 375669 for how to add URLs in wi text.
    If this does not help, then you may need to use aliases.
    Good Luck
    Ravi

  • Text truncation issue in custom table

    Hello Experts.
    We are uploading file from program and updating custom table including two fields where each one is 100 chars.
    Now when I am trying to upload with my user's id and end user's id then data is uploaded succesfully . But when end user try to upload data from his system then only first field is filled , second field does not updated.
    Would you please let me know where it can be issue and how can be solved.
    Regards,
    Shiv

    Hello All,
    We are uploading file from upload function module and updating data using Update command in custom table. This code is working fine for almost all users. But it is not working for 3-4 end user.
    Would that be issue of SAP GUI or some thing else.

  • Text is truncated on the right side of a text field. How to solve?

    Hi group,
    I use CR for the .NET Platform 10.2 (VS 2005/.net2.0). In several cases the texts in my crystal reports are truncated on the right side of the text fields (which can show more than one line and which are set in the way that it increases if more than one line is needed).
    I created the CRs with CR in VS 2003. Then I migrated the VB.net project from VS 2003 to VS 2005. Then, when I opened a CR in VS 2005 and saved it again I got the message that it will be changed to the newer version if I click "yes" (or perhaps it was the "ok" button). I guess that was the moment the CR was migrated to the newer CR version.
    Because of the truncation problem I created one of the CRs completely new with exactly the same settings (i.e. the heigths of the sections, the widths of the text fields, and all the other setting are completely identical to the CR created in VS 2003). Interestingly, the texts are truncated in none of the text fields any more.
    Have I done the migration correcty? (Is it really opening the CR and saving it an saying "yes" or should I rather have done it in another way?)
    Does somebody of you already have had this kind of problem? How could it be solved without creating all CRs anew?
    Does recreating a CR which shows truncation of texts really solve it, or is truncation caused by something else, perhaps a certain property of a CR etc?
    The "printer" is set to "no printer" in all CRs. The truncation does show independent of whether the registry entry "HKEY_CURRENT_USER\Software\Crystal Decisions\10.2\Crystal Reports\Export\PDF\ForceLargerFonts" is set to 1 or to 0.
    Thanks for help in advance
    Kind regards
    Michael

    >
    Ludek Uher wrote:
    > There is a fair number of kbases in the kbase search (https://www.sdn.sap.com/irj/sdn/businessobjects-notes). Most of these refer to fixes. It may be a good idea to get the latest SP for your version of CR - CR 10.2?) and see if that helps. The latest SP for CR 10.2 is here:
    >
    > https://smpdl.sap-ag.de/~sapidp/012002523100006007872008E/crvs05sp1.exe
    >
    >
    > Ludek
    Hi Ludek,
    I already installed crvs05sp1 a few months ago (still traceable by the dir "C:Program FilesCommon FilesBusiness ObjectsPatchesCrystal Reports for Visual Studio .NET 2005 Service Pack 1" on my computer).
    Unfortunately, I cannot find any fitting entry in the kbase. If I search for "text truncation" or "text truncated" i get results but they are about pdf or word or fixed truncation problems in older CR versions.
    It seems as if I am the only one who has to face this problem :-).
    Best,
    Michael

  • Chart objects truncate label text

    I am creating image charts in the portal. However, I find that the series column that I base the chart on has its text truncated. The level that it does this varies on the chart type and the number of rows returned by the series.
    On a pie chart, for example with 9 segments, the truncation on the legend is so bad that you cannot read the text labels. This makes the charts totally unusable for production use!
    Increasing the portlet width, increases the portlet window area, but the chart component remains the same size!
    Is there a workaround for this, short of implementing Reports/Discoverer etc.?
    Regards,
    John
    null

    I know this is not the answer to your question but image charts were a beta feature in 309 and are no longer being supported in 902. Basically you will not be seeing your image charts once you upgrade. so please think twice before investing effort in Image charts.
    You can leverage on BI beans which is shipped with Oracle9i Application Server for your graphical charting needs.

  • TRUNCATE TABLE does not work in PL/SQL - Why?

    Hey there!
    Is there any issue with truncate table not working inside an PL/SQL package?
    For example this function:
    PROCEDURE FLUSH_TABLE(vi_table_name VARCHAR2) IS
    vn_table_name VARCHAR2(30);
    BEGIN
    vn_table_name := UPPER(LTRIM(RTRIM(vi_table_name)));
    TRUNCATE TABLE vn_table_name;
    END FLUSH_TABLE;
    returns the following error msg:
    Error: PLS-00103: Encountered the symbol "TABLE" when expecting one of the following:
    := . ( @ % ;
    The symbol ":= was inserted before "TABLE" to continue.
    Line: 5926
    Text: TRUNCATE TABLE VN_TABLE_NAME;
    Can somebody explain me the problem here? In my point of view, the error msg is not quite right ;)
    Regards,
    Thomas

    > I just think the error msg is confusing
    When you looked for TRUNCATE in the PL/SQL reference you might have noticed that the PL/SQL language has no TRUNCATE keyword. The error message indicates that syntactically the code appears to be some sort of variable assignment but has an extra keyword and no assignment operator. You would get the same message for any similar string of unrecognised keywords:
    SQL> BEGIN
      2      TRUNCATE TABLE emp;
      3  END;
      4  /
        TRUNCATE TABLE emp;
    ERROR at line 2:
    ORA-06550: line 2, column 14:
    PLS-00103: Encountered the symbol "TABLE" when expecting one of the following:
    := . ( @ % ;
    The symbol ":= was inserted before "TABLE" to continue.
    SQL> BEGIN
      2      TRANSMOGRIFY TABLE emp;
      3  END;
      4  /
        TRANSMOGRIFY TABLE emp;
    ERROR at line 2:
    ORA-06550: line 2, column 18:
    PLS-00103: Encountered the symbol "TABLE" when expecting one of the following:
    := . ( @ % ;
    The symbol ":= was inserted before "TABLE" to continue.
    SQL> BEGIN
      2      MORE TEA VICAR; 
      3  END;
      4  /
        MORE TEA VICAR;
    ERROR at line 2:
    ORA-06550: line 2, column 10:
    PLS-00103: Encountered the symbol "TEA" when expecting one of the following:
    := . ( @ % ;

  • Label truncation - Bug?

    I am using a label and my label text can have "-" in it (e.g. "TX-dallas_bigbig_whater" or "big-34333_hose_345" ) and so when the label truncates long names it will truncate the above two examples like this:
    "TX-dallas_bigbig_whater"  gets truncated to "TX-..."   but should be   "TX-dallas_bigb..."
    "big-34333_hose_345"         gets truncated to "big-..."   but should be   "big-34333_hos..."
    Is this a bug or ?

    I'd update your Flex 4 SDK to one of the newer nightly builds: http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4
    If I used 4.0.0.10485 (Beta 2 build) my s:Label text truncated to "TX-...".
    After switching to 4.0.0.14288 my s:Label text truncated to "TX-dallas_bigbi...".
    <?xml version='1.0' encoding='UTF-8'?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:s="library://ns.adobe.com/flex/mx">
        <s:layout>
            <s:VerticalLayout />
        </s:layout>
        <s:controlBarContent>
            <s:Label id="sdkVer" initialize="sdkVer.text = mx_internal::VERSION;" />
        </s:controlBarContent>
        <s:Label text="TX-dallas_bigbig_whater" width="100" maxDisplayedLines="1" />
    </s:Application>
    Peter
    Message was edited by: Peter deHaan (Adobe)

  • Barcode truncated.

    I have:
    1. Make new system barcode with SE73
    2. use code 128 or interleaved 2 of 5
    3. for code 128 set width 12, height 150, mode A
    4. make new style and assign new barcode to format in there
    5. make new smartform and assign newly made style to it
    6. make text box fill with random text and assign barcode format to it
    7. execute to print preview or print directly, it will produced truncated  barcode no matter the text is long(over 16 character) or short(less then 8) or anything in between
    Applied notes:
    Note 1557244 - Barcode & Barcode Text truncated in certain situations - applied but no effects.
    Additional notes:
    preview directly within se73 produced correct results.

    I have:
    1. Make new system barcode with SE73
    2. use code 128 or interleaved 2 of 5
    3. for code 128 set width 12, height 150, mode A
    4. make new style and assign new barcode to format in there
    5. make new smartform and assign newly made style to it
    6. make text box fill with random text and assign barcode format to it
    7. execute to print preview or print directly, it will produced truncated  barcode no matter the text is long(over 16 character) or short(less then 8) or anything in between
    Applied notes:
    Note 1557244 - Barcode & Barcode Text truncated in certain situations - applied but no effects.
    Additional notes:
    preview directly within se73 produced correct results.

  • How to print second page as continuation of First Page.

    Hello,
    I am printing a script. I want to print next page as continuation of first page.
    I am printing some contents. It is overflowing the first page, But remaining contents are not appearing at
    Next page.
    How to print that.
    Can any body plz help.

    Hi,
       If the text doesn't fit in page, the it will be printed in the next page.
    If it is one line or two line by increasing the length of the window, you can accomodate.But if it more than than then its not possible to print in the same page.
    If you dont want to get the text truncated then just use PROTECT and ENDPROTECT command in order to protect the text.
    Then the whole text will be printed either in First Page or Second page depending on the amout of text.
    Thanks & Regards,
    Vamsi.

Maybe you are looking for

  • Loading custom override stylesheet into custom wiki theme

    I'm trying to set up a custom wiki theme on 10.5 server. I haven't had any trouble using .xsl overrides. I created a .css file based off the overrides.css stylesheet and I'm trying to get it loaded as part of my custom theme, but haven't had any luck

  • Full screen problems

    Any time I try and watch a video online or a dvd on my computer and try to expand it to full screen I lose the picutre, but keep sound. If I keep the window regualr or large I can see the picture.  Can anyone help me with this. Thanks Rachel

  • Stalling?

    I had recently fixed my computer, and started from scratch again. And The applecare people saved all of my music into a file so I didn't loose it all. So I put all the songs into my Itunes library, I go to update my new ipod and it wont do anything!

  • Update to ios6 hangs

    On my iPAD3 update to ios6 hangs. After downloading the software, the installation hangs. A black screen appears with a little circle goes around. After about 12 hours i tried to switch off my iPAD. With the home and the off button the iPAD starts up

  • Problems with site definition in CS5

    I am trying to define a new site in DW CS5. When I enter the site information in the dialogue box I get the following message: The spry assets folder is not inside the site. Please select a valid folder in your local site root. The program automatica