Text display, truncate with "...", how to?

I would like to display long text fields in a truncated format, limited to a certain length. If the length is within the limit, display normally. If the length is > limit, cut it off and append "..." .
This is the way the Feedback field is displayed in Apex Team Development, on pls/apex/f?p=4800:8000. It looks like they set the limit at 100 characters. For example:
Normal:
Are the menu paths what's configured in EBS, or paths where there are violations?
Truncated:
Reconcile the counts to p.6 Violations' reconcile counts report. Should work at the summary level b...
When I inspect that display element, here's what I find.
The unexpanded version is: <td align="left" headers="FEEDBACK_COMMENT">...</td>
When I expand the element I see the full text: <td align="left" headers="FEEDBACK_COMMENT">Reconcile the counts to p.6 Violations' reconcile counts report. Should work at the summary level b...</td>
Any help or pointers would be appreciated.

Andy,
Thanks for the pointer. The discussion included the REGEXP_SUBSTR function. Which suggested the SUBSTR function to truncate the field, which is all I need.
So my simple solution can be to select the long text field twice in the interactive report, once full length, and once truncated by SUBSTR concatenated with '...'. Then the user can make reports with either, and the single full record view will have both.
Skip

Similar Messages

  • Text display issues with htmlText, Embedded Font

    Hey All,
    I'm having an issue with the display of my hyperlinks in a
    textfield that is using embedded fonts. It offsets the hyperlinks
    to the left along the line they are on and the underline doesn't
    stretch all the way under the text field. The text display normally
    when I don't embed the font. For some reason I think this might
    have to do with the embedded character range so I opened it up.
    Does anyone know if this range is enough or if there are special
    characters flash uses that need to be embedded for their width even
    though they arn't displayed.
    Embedded range:
    [Embed(source='MyriadPro-Regular.otf', fontName='Myriad Pro',
    unicodeRange='U+0000-U+00fe')]
    Here's a link to the related code:
    http://pcpnew.privatepaste.com/a7eKaAuCTt

    Any ideas?

  • PO output email text displayed incorrect with #

    Hi All,
    When sc is created and resp PO is created and email sent to the vendor.
    Her the problem is the text in the email is displayed with # as
    " Please find the purchase order XXXXXXXXXX entitled kumar#08.12.2011#05:04."
    Please tell me how to solve this issue.
    Kumar

    Dear Kumar,
    It is possible that this issue is happening due to cusomized smartforms. In order to check make sure that standard smartforms BBP_OUTPUT_COVER is being used and retest the issue.
    Kind Regards,
    Conor Harkin

  • Can anyone help me solve the problem of text displaying very rough on my new ASUS PA279Q display monitor running off my MacBook Pro?

    This is regarding a brand new ASUS PA 279Q, 2560 x 1440 IPS monitor. I'm connected via mini display port (into thunderbolt port on MacBook Pro) to display port on ASUS monitor; using cable ASUS included with the monitor. Mid 2012 MacBook Pro…full specs at bottom of this post.
    I have resolution set at 2560 x 1440 which is the native resolution according to the ASUS spec. I tried the other resolutions available in my System Preferences and text displayed rough with those settings too. I've tried adjusting contrast, brightness and sharpness via the ASUS control panel and didn't solve the problem. Also tried calibrating via Mac's system preferences/display and that did not improve text display either. All the text on this monitor (no matter what software I launch, Finder, InDesign, Illustrator, MS Word, Excel, VMWare Windows XP, Windows versions of Word, Excel, Acrobat, etc, all are consistently rendering text the same way ---  ROUGH and with "HALOS" around each letter.
    All point sizes of text and at various scales, display very rough on the screen. (My comparison is the retina display of my MBP and a Thunderbolt…so those two displays are my expectations.) I'm using the same MBP for both a Thunderbolt display (at work) and this ASUS at my home office.
    On the ASUS it's not as noticeable when the text is on white backgrounds, but I'm a graphic designer and compose images with text all day everyday. Not to mention the specs on this ASUS PA279Q indicate it's built for the professional so I would expect better text rendering. I haven't even addressed color calibration and balance yet, because that won't matter to me if the text won't display any better than it is now.
    I was so hopeful after researching all the specs on this monitor it would be a viable alternative to the glossy display of the Thunderbolt display. (Which, I do love the Thunderbolt display for it's clarity and how it displays crisp, clean text at all sizes. (This ASUS actually displays text decently if I increase the text so each letter is about 4" high. Which is pointless for practical purposes -- that'd be like doing page layout through a microscope!)
    I kept holding off on getting a monitor for the home office thinking the Thunderbolt would be updated soon. I'd be sick if I dropped a grand on piece of 2011 technology only to learn a few days later an updated Thunderbolt display hit the market! Not to mention, I'm praying Apple comes out with a less reflective Thunderbolt display. The glare and reflection is the main reason I looked elsewhere for a large monitor; hence my asking for help. Hoping the ASUS text display issue can be worked out. My expectation is for it to display like the MBP retina and Thunderbolt display text. That possible?
    Alternatively, I guess I could do the Apple Refurb Thunderbolt at $799. And see if there's a decent aftermarket anti-glare I could stick on it?
    Thanks for reading my post. Hope someone can help; offer any suggestions? Words or wisdom?
    Has anyone else had similar issues and figured out a resolution? Help!
    MacBook Pro
    Retina, Mid 2012, 2.3 Ghz Intel i7
    8GB 1600 MHz DDR3
    OS X 10.8.5
    NVIDIA GeForce GT 650M 1024 MB
    ASUS PA279Q

    I uninstalled those two items. It still runs slow on start-up and when opening safari, firefox, iphoto, itunes, etc. It's not snappy like it used to be. Any other ideas? Thanks.

  • Flash CS3 text display

    Since upgrading from Flash V8, I'm having an issue where
    prominent fonts (such as Myriad Pro) appear jaggy until the file is
    published, making layout and design difficult. I've checked the
    text display settings with now change in appearance. The files do
    publish with anti-aliased text.

    quote:
    Originally posted by:
    sczulu
    Since upgrading from Flash V8, I'm having an issue where
    prominent fonts (such as Myriad Pro) appear jaggy until the file is
    published, making layout and design difficult. I've checked the
    text display settings with now change in appearance. The files do
    publish with anti-aliased text.
    I've noticed this issue as well and was wondering why I was
    having a problem, thanks for answering that question.

  • How to get/display  time with minutes in a test item

    Dear experts,
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.4.2 (Production)I've the following requirements.
    In my form, there are three text items and one save button.
    Text items named as
    No_of_days --> Number data type
    (user will enter number of days)
    hours_limit --> Char data type with format mask (HH:MI);
    (user will enter hours with minutes)
    Upto_date_time --> date data type;
    this field calculated as (No_of_days+hours_limit+sysdate)
    User will enter No_of_days or hours_limit:
    Based on the values I've to calculate Upto_date_time
    Here is the problem:
    1) If user doesn't enter hours_limit I want to show default time as " 04:00 PM"
    2) If user enter hours_limit field we should allow them to enter in the following format
    "HH24:MI" format;
    what whould be suitable data type for hours_limit field..
    I tried with char and i've set the format mask as ,
    set_item_property('BLOCK3.hours_limit',format_mask,'HH:MI');
    But I'm geeting the error
    "FRM-50027:Invalid format mask for given datatype"
    Please help to solve this problem,
    Regards,
    Karthi

    Hi vansul ,
    set_item_property('BLOCK3.hours_limit',format_mask,'HH:MI');
    Format mast is only allowed to date data type fields.If i set the hours_limit item's data type as date , I'm getting the error message "ORA-01843:Not a valid month"..
    How could i make this field only getting or display time with minutes?
    Regards,
    Karthi

  • 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

  • How can i Display images with may own table

    Hi
    I want display images with my own table. How can I use in this query.
    SELECT    '<a href="#" onclick="javascript:'
           || 'getImageHeight(''my_img'
           || '#ROWNUM#'');javascript:redirect'
           || '(''f?p=&APP_ID.:212'
           || ':&SESSION.:DISPLAY:NO::P212_IMAGE_ID:'
           || ID
           || ''');">'
           || '<img src="#IMAGE_PREFIX#edit.gif" '
           || 'alt="Edit"></a>' ID,
              '<img id="my_img'
           || '#ROWNUM#" src="#WORKSPACE_IMAGES#'
           || filename
           || '"/>' image
      FROM wwv_flow_filesThanks
    Nr
    Edited by: user10966033 on Sep 28, 2009 1:41 PM

    You don't use #workspace_images# since that is for STATIC files, not images in a table..
    see this thread for help: Re: Display image from blob
    Thank you,
    Tony Miller
    Webster, TX

  • How to add a scrolling text in portrait with iMovie

    how to add a scrolling text in portrait with iMovie

    This is how i was able to do it. Edit html source.
    <div align="center"><marquee id='scroll_news4' bgcolor=#ff9966 "><font color="#000000" size="+1" ><strong>Outlook is down! IT is working on it! </strong></font></marquee></div>
    <input type='Button' value='Stop' id ='b1' onClick='button_click()';>
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    function button_click()
    if(document.getElementById('b1').value=="Start"){
    document.getElementById('b1').value="Stop";
    document.getElementById('scroll_news4').start();
    }else{
    document.getElementById('b1').value="Start";
    document.getElementById('scroll_news4').stop();
    // End -->
    </script>

  • When I press on a land line number, the phone does not call the number, but comes up with a screen to send a text to it.  How do I get my phone to default to phoneing a landline?

    When I press on a land line number, the phone does not call the number, but comes up with a screen to send a text to it.  How do I get my phone to default to phoneing a landline?  When I press a mobile number in contacts, the phone automatically phones the number.  I do not mind this as I hardly ever send texts, but I would like to have the option of what to do.  This seems such an obvious issue but I can not solve it even with much web searching.  Thanks!

    I can't delete my question, so I'll just say that you press on the type of number written in the box to the left of the box you typye the number into.  Dumb or what? 

  • How to influence the text display of key figures in the interarctive DP

    Hello all,
    Does anyone know if there is a possibility (BADI, etc.) to change the text display of key figures (not characteristics!) in a planning book/data view?
    I know that you can define a free text in the data view but still, this is only one fixed text and it cannot be changed.
    Reason for the request: We would like to use the same key figure (and hence, indicate 2 different texts) for two different purposes (in different selections) without having to create a new data view.
    Kind regards,
    Klemens

    if you dont want a new data view and might even go to the extent of creating a user exit for this ... here is an idea
    - just create auxillary KF ( or use spare Temp KF depending on what you want to do with the data in the view) for each of these KF with the text
    lets say you have KF1 and KF2 - create KF1A and KF2A
    Make sure KF1A = KF1 and KF2a = KF2
    Now depending on user you can display KF 1 and KF2 or KF1a and KF2a depending on the user by using macros USER() and ROW_VISIBLE(0)

  • Not all chinese characters display correctly with non-embedded text

    Hi all,
      I've updated to the last beta 2 of Flash Player 10.1 (10,1,51,66) and compiled this simple Flex application to illustrate the fact that not all chinese characters can be displayed correctly with non-embedded text (device font).
    <?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:mx="library://ns.adobe.com/flex/halo"
                   minWidth="1024" minHeight="768"
                   creationComplete="resourceManager.localeChain = ['zh_CN'];"
                   layout="{new VerticalLayout()}">           
        <fx:Script>
            <![CDATA[
                import spark.layouts.VerticalLayout;
            ]]>
        </fx:Script>
        <s:Label text="伜-伞伟传伡伢伣伤伥伦伧伨伩伪伫伬伭-伝">
        </s:Label>
        <mx:Label text="伜-伞伟传伡伢伣伤伥伦伧伨伩伪伫伬伭-伝"/>       
    </s:Application>
      Notice that characters from the Unicode range 0x4F1E .. 0x4А2D are not displayed within <s:Label> component that uses Flash Text Engine (FTE) by default to display the text, but at the same time those characters display just fine within older <mx:Label> component that relies on flash.text.TextField instance to render the text.

        OK, did not know that "Arial Unicode MS" font is only distributed with Microsoft Office, was looking into relying on this font in case if "simsun.ttc" font is not available at the user's system, by using the following:
    <?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:mx="library://ns.adobe.com/flex/mx"
                   minWidth="1024" minHeight="768"
                   creationComplete="resourceManager.localeChain = ['zh_CN']"
                   layout="{new VerticalLayout()}">               
        <fx:Style>
            @namespace s "library://ns.adobe.com/flex/spark";
            @namespace mx "library://ns.adobe.com/flex/halo";
            s|Label {
                fontFamily: "Arial Unicode MS, SimSun, Arial";            
        </fx:Style>   
        <fx:Script>
            <![CDATA[
                import spark.layouts.VerticalLayout;
            ]]>
        </fx:Script>
        <s:Label id="sparkLabel" text="伜-伞伟传伡伢伣伤伥伦伧伨伩伪伫伬伭-伝"/>   
    </s:Application>  
    Tough decision ahead, but accordingly to  the survey at codestyle.org (2000 participants from 2007 year and onwards), Arial Unicode MS is present at 62.53%% system surveyed.
    ps
       My current install of Windows XP already includes the install of Microsoft Office 2007 and I've also enabled/disabled the support of East Asian languages, thus the content of  my "fonts" folder differs now significantly from "clean" Windows XP install version.
    Nevertheless I found the page with comprehensive lists of standard fonts installed with different releases of Windows that looks viable here:  http://www.kayskreations.net/fonts/fonttb.html

  • How to center the text displayed in a JList

    Hi,
    The width of the JList display area is wider than the text displayed. I tried to center the text displayed to make it look nicer. I had tried using "setAlignmentX(Component.CENTER_ALIGNMENT)" in my own ListCellRenderer class but did not work. Any idea how to center the text?
    Fai.

    Yes, I am using JLabels in my renderer and the following is the code:
    public class MyCellRenderer extends JLabel implements ListCellRenderer {
         private static final Color HIGHLIGHT_COLOR = new Color(0, 0, 128);
         public MyCellRenderer() {
              setOpaque(true);
              setIconTextGap(12);
         public Component getListCellRendererComponent(
              JList list,
              Object value,
              int index,
              boolean isSelected,
              boolean cellHasFocus)
              String entry = (String)value;
              setText(entry);
              setFont(new Font("Ariel", Font.BOLD, 18));
              setAlignmentX(Component.CENTER_ALIGNMENT);
              if(isSelected) {
                   setBackground(HIGHLIGHT_COLOR);
                   setForeground(Color.white);
              } else {
                   setBackground(Color.white);
                   setForeground(Color.black);
              return this;
    Can you point out where to implement the centering logic?
    Thanks,
    Fai.

  • How do i add a an editable text area along with a basic shape?

    hiee
    Thank u guys for replying to my previous query.I got the solution.
    Now ,my problem is, whenever i am drawing a new shape on the panel i want to add an editable text area along with the shape so that the shape can be given a userdefined name(something like Rational Ross).
    I am using g.drawString() but with that i can only add a static string.
    How can i add a JTextField or JTextArea along with the shape??
    Thanking u guys in advance.
    anvesha.

    It is considered standard procedure to acknowledge people's replies in the corresponding thread.
    As for your current problem, you'll have to make sure that the component you're subclassing is at least a Container. A JPanel could be a good pick. Set the layoutManager to null. Add your JTextField to your JPanel and use myTextField.setBounds(x, y, width, height) to place it whereever you want.

  • How can I highlight text in iPages with a 'virtual' fluorescent marker

    How can I highlight text in iPages with a virtual fluorescent marker?

    The text highlight option is the little box on the toolbar with the "a" and a diagonal line through it (That is the default transparent highlight option).
    Peter

Maybe you are looking for

  • Flash Builder 4.7 with Eclipse Kepler

    Hi, I'm trying to install the Adobe Flash Player 4.7 with Eclipse Kepler. I'm using the Adobe Flash Builder 4.7 Plugin-in Utility. It seems that this version of the Builder is not compatible with the Eclipse Kepler but only with Eclipse Indigo or Ecl

  • Lumia 720 ~ I can't find "speak caller ID"

    I have just purchased a new Lumia 720 here in Thailand and set it up in English. I like the speaker calller id of my symbian and it was one of the reasons for buying the 720. However, I cant find the feature in settings. How do i turn it on?

  • Doubt on creating join between  two tables

    Hi friends, I have two tables , ekes and eine my requirement is  if Ekes-ebtyp = 'X1'. then Ekes-ebtyp = EKES-EINDT + Eine-j_3alitra. the doubt is there is no primary key common between this table . actually in my whole program for purchase order i u

  • TS1314 how can we transfer jpg file to ipad4 with extension name

    how can we transfer jpg file to ipad4 with extension name

  • ATV stuck in perpetual sync +more!

    So my iTunes has been syncing with the AppleTV for over a day and still going! If I cancel the sync and try again it does exactly the same thing. This started happening a couple of weeks ago but not every time I tried to sync at first, sometimes it w