Text getting cutoff in a varchar2

I am running Reports 6.0.8.24.0 32 bit on Oracle 9i.
I am having a problem with a large varchar2 field not staying within the layout, on the right hand side of the layout.
The text gets cutoff on the right side. On the preview it all looks ok, but on paper 1 to 4 letters are cutoff.
I have tried 4 different laser printers and an inkjet printer, but all have the same result.
I have played around with fonts and font size with limited success, but still cutting off text.
Is there a best font and font size for a varchar2 field within Oracle reports?
I have played around with the margins with limited success, but still text getting cutoff.
I have tried changing the elasticity settings and layout size, but no change with text getting cutoff.
The varchar2 receives its text from a MS word document. I have a button trigger that opens the MS word document and kicks off a macro in MS word.
The macro in MS word does a select and copy of the needed text. The trigger then closes MS word and paste into the varchar2 field.
The varchar2 is size 4000.
(I wish MS word had a character for soft returns, then this would have been fixed months ago.)
Thank you,

I think I have found the answer on my own.
I developed my own algorithim for when the word wrap occurs.
See code below.
I added this code to the button trigger on my Oracle Form the copies in the text from MS Word.
tmp_file := :query_recv_accessions.diag_summary; --get the text from the field on the form
string_length := LENGTH(tmp_file);
clear_field; -- clear :query_recv_accessions.diag_summary
current_char := SUBSTR(tmp_file, current_pos, 1);
WHILE current_char IS NOT NULL
LOOP
IF current_char = lf THEN --lf is a variable that contans the ascii value for a line feed.  if a line feed is found then resest the character count to zero.
     char_count := 0;
ELSE
     IF current_char = ' ' THEN
     last_space_pos := current_pos; -- remember the position most recent space
     END IF;
     char_count := char_count + 1;
     IF char_count = 102 THEN --102 is as many characters that will fit on the paper across.
     tmp_file := substr(tmp_file, 1, last_space_pos)||lf||substr(tmp_file, last_space_pos + 1, string_length - last_space_pos); --insert a line feed
     current_pos := last_space_pos;
     char_count := 0;
     END IF;
END IF;
     current_pos := current_pos + 1;
current_char := SUBSTR(tmp_file, current_pos, 1);
END LOOP;
:query_recv_accessions.diag_summary := tmp_file;

Similar Messages

  • SSRS web based report viewer control rendering issues - text getting clipped chopped off

    Hi,
    I am using web based SSRS report viewer control to display SSRS reports in browsers like Chrome, FF, IE, Safari etc. My issue is some text is getting chopped off (clipped) in all cells of some reports. I investigated on my end by analyzing generated HTML
    and I could see a problem in the HTML that report viewer control is generating. But I am afraid to apply any HTML or Javascript hacks at the moment considering we have hundreds of reports.
    You can see in above image how text got chopped off. The problem in HTML (given below) is the text has been wrapped in a div tag with a fixed height. If I remove the height and also padding on parent TD, the text appears properly.
    <td class="A23dfe7c5f99245f2a0db522a22a6035597c" style="HEIGHT:5.00mm;background-color:#d3d3d3;"><div style="HEIGHT:3.24mm;overflow:hidden;"><table lang="en-US" cellspacing="0"
    cellpadding="0" border="0" class="Pd9776e5f7eaf4df696265b8b49d1da39_1_r17"><tbody><tr><td class="A23dfe7c5f99245f2a0db522a22a6035597" style="word-wrap:break-word;white-space:pre-wrap;">MyType11</td></tr></tbody></table></div></td>
    Please let me know if you have faced a similar scenario before.
    Here is link to stackoverflow thread -
    Stackoverflow thread
    Regards
    Murtaza

    Hi Murtaza,
    According to your description, when you display the report with Report Viewer control, the data within the text is cutoff.
    Based on my research, the issue could cause by that Arial Unicode MS font hasn’t been installed on the server where Reporting Services run. Besides, when we use ReportViewer control to render report, we’d  better set
    AsyncRendering="true" in the Report Viewer control. Also please run the IE with compatibility mode. For more information, please refer to similar threads below:
    Data in column getting cut-off in report viewer control
    SSRS Rendering Issues
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Text getting cut off when printing to PDF from Excel

    Hello,
         I've seen a lot related to this subject but nothing that shows a real solution.
         Using Excel 2003-sp3 and Adobe Acrobat v.9 Standard, the right half of the last character in the string gets cut off. It prints from excel fine.
         It's not always the text that is the right-most on the page either. An affected PDF file is attached - note the cut off "S" on the last line (NET ASSETS OF GOVERNMENTAL ACTIVITIES).
         Any assistance is appreciated.
    Thanks,
    Kevin Murphy

    please delete me from your mailing list.  tks.
    Date: Wed, 10 Feb 2010 11:20:28 -0700
    From: [email protected]
    To: [email protected]
    Subject: Text getting cut off when printing to PDF from Excel
    Hello,
         I've seen a lot related to this subject but nothing that shows a real solution.
         Using Excel 2003-sp3 and Adobe Acrobat v.9 Standard, the right half of the last character in the string gets cut off. It prints from excel fine.
         It's not always the text that is the right-most on the page either. An affected PDF file is attached - note the cut off "S" on the last line (NET ASSETS OF GOVERNMENTAL ACTIVITIES).
         Any assistance is appreciated.
    Thanks,
    Kevin Murphy
    >

  • When I type my text gets highlighted and then deleted.

    I am having a problem with typing. When I type fast my text gets highlighted and then deleted or typed over. Im not sure what is wrong. I think it is either a trackpad or keyboard. Any help be great!!

    The trackpad on the MB and MBP have a larger surface with more sensors than on previous laptops. As a result, when we type we have other fingers, thumbs etc. making contact with the trackpad and the trackpad receives input we don't intend. It happens to me quite often. So I hit Command + Z to undo and reposition the cursor. We need to train ourselves so that we keep our hands, palms, thumbs or other unnecessary body parts away from the trackpad while typing.
    cornelius

  • PR Short text getting copied to the Item text

    Hi All,
    I have a scenario in which i need the PR short text getting copied to the Item text while creating a PR. Please let me know if there are any settings for the same.
    Thanks,

    PR short text you mean line item short text field beside material is getting copied?, in such cases make sure that Item text copying rule. from where its getting copied from SPRO>Material Management> purchasing>PR>Texts for Purchase Requisitions >Define Copying Rules.
    regards,
    qsm sap

  • Long Text getting truncated in IW32

    We are using BAPI_ALM_ORDER_MAINTAIN to createa orders with long text.
    When reviewing the long text in the Office integration screen, We can see that all text is there.
    If, a user modifies the long text in the long text window of IW32, any text that does not display is lost when the order is saved
    If a user modifies teh long text in the office integartion screen, no text is lost.
    Any help on the cause and how to prevent this would be appreciated.
    Scott

    hi ,
    thanx for the reply,
    text gets truncated in print preview itself.
    i put breakpoint in  se38  and in sapscript.
    in se38 the variable shows full text, but in sapscript, it gets truncated.
    coding in sapscript
    /:           POSITION WINDOW
    /:           POSITION XORIGIN '-0.5' CH YORIGIN '-0.10' LN
    /:           SIZE WIDTH '+0.3' CH HEIGHT +0.85 LN
    /:           BOX HEIGHT '9.0' LN FRAME 10 TW
    /:           PERFORM PO_TEXT_DISP IN PROGRAM ZTEST_DRIVER
    /:           USING  &EKKO-EBELN&
    /:           CHANGING &PO_TEXT&
    /:           ENDPERFORM
    /:           IF &PO_TEXT& NE ''
    S7           &PO_TEXT&
    /:           ELSE
    /:           ENDIF
    regards
    senthil

  • Text getting jumbled

    i have a vendor working on a mac through an online system where she enters info into a webform then prints the entire thing to pdf.  i have about 100 other vendors who do this with no issues, but all are on pc's, although i dont think the OS is the problem.  whenever i try to edit a pdf printed down from this persons webform and then edit it for my business the text gets jumbled at various stages.  It can happen when saving, copying something from one page to another, putting any text in at all.  I dont notice the jumble right away but when i move to another page from the one i was editing, then i see the issues.  Acrobat is completely updated working on windows 7 64 bit that is completely up to date as well.  we are using IE8,9 and the most recent version of Firefox to test but this happens on every machine we try.  Can anyone help?

    Nope,
    If I understand - there is a fillable pdf hosted online, or there is a webased submission which is funneling the data into a pdf.
    That pdf has a default font assinged for the fields.
    If this is the case, this might be better posted to the Acrobat Forms Forum
    http://forums.adobe.com/community/acrobat/forms
    wondergoat77 wrote:
    online system where she enters info into a webform then prints the entire thing to pdf
    That print engine may be able to embedd the fonts complete. Change the "Subset when fonts used is less than" to 0%

  • Text getting squished on convert to button

    Hi,
    Im trying to make some buttons. Ive made a primitive rectangle and a text object with rosewood std font. Then I put the text over the rectangle the rectangle is a little bigger ussualy about a pixel more in width and height than the text in size.
    The problem is when I do convert to symbol(Button) the text gets all squished, I have no idea why.
    Anyone know what is going on?
    Thanks

    Not sure I understand I need it to be a button nnot a movieclip because Im going to use it as a button an need the differenet states (up,down,over)

  • Blocks of text getting scrambled...

    At times when I'm on the net with my MBP
    and I two-finger scroll through
    message boards, large blocks of text get
    moved around and scrambled like a mixed up
    Rubik's Cube.
    Anyone else experiencing this on their MBP?
    Is it a fault of the video card or the intel version of safari?

    Yes, it happens to me too. I posted a thread about this and didn't get many responders. It isn't just Safari--I had issues with the included Comic Life application leaving artifacts on the screen as well. It is most likely an issue with the driver for the video card, and is fixable via a software rev whenever Apple gets around to it. There isn't much you can do in the mean time.

  • Why is it that when I request a PAC code I keep getting cutoff?

    Why is it that when I request a PAC code I keep getting cutoff/agent cannot hear me? This has not happened for any other query

    This is EE customer service for you. Your not the only one who gets cut off.

  • Text gets cut off when exported to PDF

    When I export my report to PDF some of my text gets cut off where it would meet the right edge of the text box by 1 or 2 letters.
    This only happens when I export to PDF through my web application or when I export it throught the Report Manager URL
    If I export it on my local copy of SSRS then it shows up fine without the text getting cut off

    Hi,
    You can set the Cangrow property of the textbox to true which allows to grow your textbox and is default for any text box unless you have changed it.
    Please mark this post as Answered if this post helps to solve your query.

  • Bug with part of text getting chopped off?

    I've been getting this on and off... the last letter of some text gets chopped vertically.
    Take a look at the last letter of "PORTFOLIO" and "ABOUTUS" here.

    Tried them as readability and animation... they are actually worse as readability.
    The strange thing is, each letter is an MC, so the two S's in ServiceS are actually the same MC as the S in aboutuS, yet its only the latter mentioned that is bugged.

  • Text getting cut,while generating the pdf dynamically.

    Hi All,
    I have a Text Box ,which has a text of ard 19 lines of Font:Arial Narrow and Size:9 in pdf.(Height:131.02pt and width:755.266pt of the text box)
    Also I have same in the xdp.
    When i dynamically generate pdf using Adobe Document Services(ADS),the text gets cut and the Font also changes.
    Kindly help me out.
    Thanks and Regards,
    Vishal Doshi.

    It looks like unexpected font fallback happened. Do you have "Arial Narrow" on the machine running ADS or do you specify forcing font substitution?
    Henry

  • All text getting fat upon publishing

    when i publish to .mac, all the text gets fatter, like it was set to bold somewhere in process (except for text that actually is bold, which is now double-bold).
    i'm viewing the page with safari on my own computer.

    I have also experianced this problem on my site's main page (http://www.wmuthetatau.com). I think this might be more of a Safari bug then anything. I'm viewing my site right now from a Windows XP computer using Firefox and I'm not having the same problem. Try viewing your site with Firefox and see if your problem persists.

  • Text gets jumbled up after publishing.

    After publishing my text gets illegable. Sentences are written over each other. Mabybe my texts are too long. Some pieces are ok but at the end of the text trouble starts.

    Perhaps check in iWeb that you don't have text boxes that are overlapping each other. This can be a cause. Also, if you know that you have a long piece of text to publish, just use one text box rather than a few. This makes more sense and it is less likely that any box will overlap.

Maybe you are looking for

  • Command line hangs when starting OC4J with MapViewer

    Hello, I have a simple development setup with a stand-alone oc4j instance installed via the MapViewer Quick Start Kit, on an 11g database, on a Windows XP workstation. The problem: When I start the oc4j instance everything seems to start up successfu

  • How to get value in custom field(Part OF BOL) in search result view.

    Hi All, I am new to CRM WEBUI and i am facing issue in populating value in one field of search result view. Current requirement is . On product f4 , we get search help and search result view. one custom field need to be added in search result view (

  • IMac Mirrored vs Extended Display

    Hello, I have a 24 inch IMAC (mid 2007...white border vice platinum) and the screen has been damaged. It has a virtual shatter across the screen, so I can't see anything on the screen. I connected it to my Plasma, but it appears to be in extended dis

  • How can I download my Muse site.

    Somehow my offline-saved copy of my Muse site has gotten all fouled up. In my saved copythe web pages are no longer being based on the master page even though I saved the page that I last uploaded via FTP and it looks great online. I'm wondering if t

  • Is there anyway to download osx snow leopard instead of buying the disc?

    is there anyway to download osx snow leopard instead of buying the disc?  i have v 10.5.8