Limit display length of textfield to 2 characters

Hi,
in my form i have a textfield for dayname like "Montag" which is german for Monday.
On my form i do not have so much space therefore i want to show only "Mo" (first to characters).
How can i acchieve this?
Thank you
Kind regards
Manfred

Hi Manfred,
In Palletes select
Objects (Tab) -> Field (tab) -> there is a check box 'Limit Length' . check that box  and enter 2 in the box 'Max Chars:'.
Regards,
Shaira Madhu

Similar Messages

  • Filename lengths are limited to 31 characters?

    Why are filename lengths still limited to 31 characters?
    Why do the dialogs look like ports from the PC world?
    Is Logic Express itself a port from the PC world?
    Although Logic Express has its own slickness, Vision from OpCode Systems, was, considering when it was written, so much better, at least when working with MIDI. Adherance to Mac conventions was so good that it was an easy program to learn in spite of its complexity. Logic Express is proving to be difficult for me to learn with its quirky ways of doing things.

    "it's pretty difficult to put together something as complex as a modern, fully-featured DAW without making some concessions"
    "I'm sure it's a big-*** codebase, and probably not the easiest to patch for things that seem, from our perspective, to be simple."
    Actually I am aware of the difficulties in creating complex software. I was a software engineer from 1959 to 1993. (Yes, there were computers in 1959.) I'm always amazed -- not to mention pleased -- when a complex interaction among input, display, output, real-time constraints, on-the-fly editing, etc works without a hiccup. The modern, metaphorical graphical interface belies the complexity underneath. It's reminiscent of the unbelievable complexity which lies just under our own visual interface aka skin.
    I just wish that Apple had started with Opcode System's VISION product. Way back in OS 8, for example, one could have a display of a playing song and pull down a menu without interrupting either the display or the playing. With Logic the playing continues but the graphic display pauses. I know that this is not terribly relevant to anyone in the music business, but it would seem to reveal an old architecture forcibly fit to the new environment, and then I wonder about the things that I can't see.
    Well, I probably worry too much, because Logic Express has yet to crash or corrupt any of its files. And of course my whole music studio is, except for the MIDI keyboard, on my hard disk instead of the racks of equipment I used to have.

  • How to display " ISO-8859-1 " (eg - " &eacute " ) characters in LabelField .

    hai,
    How to display  " ISO-8859-1 " (eg - " &eacute " ) characters in LabelField .
    Regards
    Ratheesh R Kurup

    Hi,
    Perhaps
    with a as
    select 'TESTING' text from dual
    select level, substr(a.text,level,1)
    from a
    connect by level <= length(a.text)

  • Display tree node data in bold characters

    Hi,
    I have a requirement where I need to display tree nodes data in bold characters. If I click on a particular tree node, next time it should appear in normal font only which means that some task had done using that tree node. Is my question clear??
    Plz help me....
    thanks,
    ravindra.

    Hi Ravindra,
    I think it is possible, i have not done it but let me explain how we can do it.
    In <htmlb:treeNode> tag there is an attribute 'text' in
    which we specify title of that treeNode.
    Now you define a page attribute 'treeNodeTitle' type
    edpline and in onCreate assign it value <html><b>MyTreeNode</b></html>
    When you click on this node then you do event handling
    in onInputProcessing, there assign only 'MyTreeNode' to
    treeNodeTitle.
    sample code may look like this...
    <htmlb:treeNode
      id = 'treeNode1'
      text = '<%=treeNodeTitle %>' >
    </htmlb:treeNode>
    Page Attribute
    treeNodeTitle type edpline
    in onCreate
    treeNodeTitle = '<html><b>MyTreeNode</b></html>'
    in onInputProcessing
    in event-handling code for that treeNode write
    treeNodeTitle = 'MyTreeNode'
    I hope this will work.
    Regards,
    Narinder Hartala

  • How to limit the length of editable text in CL_GUI_TEXTEDIT ?

    Hi;
    I have used an instance of CL_GUI_TEXTEDIT on a container. But I want to limit the length of text that can be entered in the text edit ? The method LIMIT_TEXT is protected so I can not call it in the abap source code.
    Is there any other way to limit the length of text in Text Edit Control ?
    Kind Regards.
    Erkan.

    Hi,
    Protected methods are essentially for inherited classes only. To access a protected method, inherit a class from this class and then create and instance of the child class and then using the instance object, call the protected method.
    Hopefully it should work.
    Thanks,
    Chandra

  • HT201991 What is the character limit for length for video or song reviews?

    What is the character limit for length for video or song review?

    One other thing I found... It was still doing the spinning clock and locking up, but it took a while after boot for the problem to crop up.
    I pulled the media card and found that there was a media sync folder under Blackberry\System that had some files in there that were pretty big.  The artwork file was over 150MB and some other files were largish.
    I deleted the entire media sync folder and now it seems to be behaving itself.  No more spinning clock and it seems to be slowly returning to normal.  (Besides all the messages it deleted during the whole process)
    If anyone else runs into this I would say you should clean the folder off the media card along with disabling the sync.  Seems the BB still reads that folder and processes it if present.

  • How to calculate length of textfield

    Folks,
    Please tell me how to find of length of textfield in a form. length function of javascript doesn't work on rawValue.
    Thanks,
    Manish

    Hi Manish,
    Can you post your code what you tried?
    If it is a text field, this.rawValue.length should work. What type of field is it?
    Keep in mind that when nothing has been filled in, rawValue.length is nothing.
    cheers,
    Noë

  • Maximum length of segment is 1000 characters, current length is 2382

    Hi,
    While activating the transfer rules i get this error message "Maximum length of segment is 1000 characters, current length is 2382". If someone has encountered such an error request you to kindly provide your inputs.
    Thanks
    Varun

    Hi Anil,
    Thanks for your response. It has been very helpful. Can u tell how we can change the transfer method. The option comes greyed out in BI system. So where exactly is this setting made?
    Varun

  • Limit string-length in Reporting Data Source

    Hello,
    we want to report some attributes to the BI. For this we use the standard reporting activity in the BPM. After we done a lot of configuration on the CE and the BI we achieved to connect the two systems. All attributes are passed correctly to the BI and now we have a problem with the string-length we pass to the BI. The string-length they get from the CE is 512 but the BI can only handle strings with a 60-length. Is it possible to limit the length of a string in the BPM or the CE?
    Manuel

    Hello Jun,
    I have created reporting data source in my BPM where my parameter defined is of type "STRING'.
    This data source is accessed by BW system for reporting purpose where they get an error as below -
    "STRING/XTRING types used Not supported by currently selected access method UDCGEN; cannot use this method"
    Looks like BW does not support string type, how can we make this datatype compatible?
    Please share if you have any idea.
    Thanks,
    Priya

  • Field can vary in length from 1 to 4 characters

    Good day to all,
    I have a field that can vary in length from 1 to 4 characters.
    So, if there is 1 Character I have to concatenate
    "A000000" &X (X represents field lenght) if the field is 2 characters long I have to concatednate
    "A00000"&XX (XX represents field lenght) and so on.
    "A0000"&XXX
    "A000"&XXXX
    I understand I have to test for lenght, how do I do this?????
    the name of the field {PV_ShipReq.ShipReqNum}
    Thanks
    David M.
    Edited by: Don Williams on Sep 8, 2011 2:33 PM

    I ended up doing something like this, but thanks for your input!!!
    Kind Regards,
    David M.
    if len(Cstr({PV_ShipReq.ShipReqNum},"#")) = 1 then
    "A0000000"&Cstr({PV_ShipReq.ShipReqNum},"#") else
    if len(Cstr({PV_ShipReq.ShipReqNum},"#")) = 2 then
    "A000000"&Cstr({PV_ShipReq.ShipReqNum},"#")  else
    if len(Cstr({PV_ShipReq.ShipReqNum},"#")) = 3 then
    "A00000"&Cstr({PV_ShipReq.ShipReqNum},"#") else
    if len(Cstr({PV_ShipReq.ShipReqNum},"#")) = 4 then
        "A0000"&Cstr({PV_ShipReq.ShipReqNum},"#") else
    if len(Cstr({PV_ShipReq.ShipReqNum},"#")) = 5 then
        "A000"&Cstr({PV_ShipReq.ShipReqNum},"#")  else
    if len(Cstr({PV_ShipReq.ShipReqNum},"#")) = 6 then
         "A00"&Cstr({PV_ShipReq.ShipReqNum},"#")  else
    if len(Cstr({PV_ShipReq.ShipReqNum},"#")) = 7 then
          "A0"&Cstr({PV_ShipReq.ShipReqNum},"#")  else
    Cstr({PV_ShipReq.ShipReqNum},"#")

  • I have two options in my apple contacts. And I chose to not expose my hotmail contacts to limit the length of my list. Now whenever I add someone they get saved to my hotmail contact list, rather than iCloud. How do I change this?

    I have two options in my apple contacts. And I chose to not expose my hotmail contacts to limit the length of my list. Now whenever I add someone they get saved to my hotmail contact list, rather than iCloud. How do I change this?

    Settings>Mail,Contacts,Calendars>Default Account (in the Contacts section), set this to iCloud.

  • In the new mac app store how do you limit displayed applications only to os x applications.

    In the new mac app store how do you limit displayed applications only to os x applications. I do not have Iphone or ipad so all the phone junk is annoying and one cannot find the relevant software.

    The Mac App Store only has apps for Mac OS X. There are no iOS apps.
    The iOS apps for iPhones, iPods and iPads, are in the iTunes App Store.

  • Problem with length of Textfield when converted to Bitmap

    im using this code from the docs
    import flash.display.Bitmap;
    import flash.display.BitmapData;
    import flash.text.TextField;
    var tf:TextField = new TextField();
    tf.text = "bitmap text";
    var myBitmapData:BitmapData = new BitmapData(80, 20);
    myBitmapData.draw(tf);
    var bmp:Bitmap = new Bitmap(myBitmapData);
    this.addChild(bmp);
    the problem is when i make the string longer - there are
    characters missing in the Bitmap - ive used the TestFormat to no
    avail
    any one any ideas
    tks
    M

    Did you make the myBitmapData bigger on subsequent occasions?
    BitmapData(80, 20); means 80 pixels wide by 20 high : if your
    textfield gets bigger than that then it won't fit onto the
    bitmapdata

  • How to set max length to textfield?

    I have a textfield. I want to set maxlength to this textfield. Example, length = 3.
    Help me?

    I succeeded. That link you sent very well. Thanks you. Then it's code:
    JTextFieldLimit.java
    import javax.swing.text.*;
    //import com.sun.java.swing.*;
    //import javax.swing.text.*;
    public class JTextFieldLimit extends PlainDocument {
       private int limit;
       // optional uppercase conversion
       private boolean toUppercase = false;
       JTextFieldLimit(int limit)
        super();
        this.limit = limit;
       JTextFieldLimit(int limit, boolean upper) {
        super();
        this.limit = limit;
        toUppercase = upper;
       public void insertString
         (int offset, String  str, AttributeSet attr)
           throws BadLocationException {
        if (str == null) return;
        if ((getLength() + str.length()) <= limit) {
          if (toUppercase) str = str.toUpperCase();
          super.insertString(offset, str, attr);
    tswing.java
    import java.awt.*;
    import javax.swing.*;
      //import javax.swing.*;
      public class tswing extends JApplet{
        JTextField textfield1;
        JLabel label1;
        public void init() {
          getContentPane().setLayout(new FlowLayout());
          label1 = new JLabel("max 10 chars");
          textfield1 = new JTextField(15);
          getContentPane().add(label1);
          getContentPane().add(textfield1);
          textfield1.setDocument
             (new JTextFieldLimit(10));
    TextField.html
    <html>
    <applet code=tswing width=500 height=500>
    </applet>
    </html>
    By tungld_c0701m+

  • Problem in LOV display length

    i am facing a problem in a LOV display, one of the columns had a length of 4 earlier from the base table used in the LOV but after changing the base table to 10, actual column length is 5 but the fifth character is not showing in the LOV.
    I hope, my question is clear. Please help in solving the doubt.
    regards.

    width=5 doesn't mean, that you see 5 characters !
    e.g. you can see three "m" or you can see twelve "i" when using a non-proportional font
    try to increase the size, so that you see enough

Maybe you are looking for

  • Video capture creates hundreds of 2 second clips?

    If this behavior by-design? Or perhaps iMovie HD has a problem with my camcorder's date-time-stamping? I have an 8mm Sony D8 model DCR-TRV730. The behavior I expected to see was that a clip would be created every time it detected a start/stop based o

  • Error on installation: printer keeps searching for updates.

    I get an error on installation: printer keeps "searching for updates" Installation is OK, printer works, but because of the continued messaging on the printer, the screen on printer is unusable. Any ideas? 

  • Can't download purchased apps

    I used to have Lion but my Mac was too slow, so I decided to reinstall Snow Leopard. Then I updatd the software so I could get the App Store. Next step would be to go to "Purchases" and download all apps I had bought (apart from Lion and any app that

  • How to specify java (jdk) home on Unix

    Hi On Windows, the file dmu/dmu/dmu.conf has the "SetJavaHome" parameter, and this works as the docs specifies. On Unix (Solaris), the docs states that thsi is specified in the file $HOME/dmu_jdk, but I cannot get this to work. And specifying JAVA_HO

  • Football Manager 2007 (Wont Install)

    Hi guys sorry if this is not in the correct section! I uninstalled Football Manager ages ago but want to reinstall it, however everytime i try and do so I get this error message! Can anyone figure what is wrong with it and what can I do? Date/Time: 2