How to fix the length of select list box?

Halo, i am doing the research. I need to find out what is the method to fix the length of select list box. This is b'cos i can set the length of select list due to different length of record(s)/data(s).
Another question to select list box. What is the maximum length of the select list box?? Can i enter the character with 255 lenght??
Thank you very much..... a prompt reply will be appreciate!!

Thanks for ur reply! actually that answer that you gave is right, but i also need to know what is the maximum lenght of character in the select list box?? any idea to that??
Meanwhile, i also need to know how can i make the character display in select list box dynamically?? that means i can change the font style or font size??
Anyway, thanks for ur answer.
bscs.

Similar Messages

  • How to get the value from select list to text box

    Hi,
    I have a select list i want to retrieve the value from select list to text box.
    How can i do that???
    Regards,
    Sakthi.

    Hi Sakthi,
    Yo can use the Java script for that..
    Dynamically the value will come into text box.
    Use the below script.
    <script type="text/javascript">
    function disFormItems()
    var lReturn = $v(here your select list name)
    alert(lReturn);
    document.getElementById(here your text box name).value =lReturn; }
    </script>Cheers,
    Shan

  • How to capture the multiple value in list box

    Hi forums,
           How to select the multiple values in list box and how to catch that values in OnInputProcessing.
    Regards,
    Ravi.

    Hi,
    A possible method is:
    Get all fields of the form
        CALL METHOD request->get_form_fields
          CHANGING
            fields = table_fields.
    loop over the fields
        LOOP AT table_fields INTO wa_fields.
    test the name of the field
          CASE wa_fields-name.
            WHEN 'test'.
    retrieve the value of the field
              test = wa_fields-value.
    endcase
    endloop.
    Eddy

  • IS there a way to fix the issue with text list boxes where they shift (empty space is smaller than the text size) when two text lsit boxes are side by side?

    Currently I have a webpage I designed for a company where I have multiple text list boxes side by side for the purpose of displaying data in each one based on a category in the database. So a text list box for the primary key, name, serial number, etc. I have to use Firefox as it typically works best for printing and functionality for the page. The single issue we are having is that in Firefox if the field is null as far as text the text are shrinks meaning all the data in that list box shifts up and is no longer in line with its congruent data in the other text list boxes. In other browsers that's not a problem and everything stays lined up regardless of whether there's text in the box or not.
    Unfortunately I cannot provide a link but if contacted I will provide screen shots.

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • How to fix the length of the output file

    hi,
    I have 1000 records in my source table which need to be inserted into file. But the length of the rows in my file should be only 500 i.e there should be two files getting created for this 1000 records i.e my each output file should contain only 500 rows not more than that.
    Depending on the number of records present in the source, the file getting created will be varying as my file should contain only 500 rows each. for ex: if 5000 rows are present then 10 files need to be created.
    How this can be achieved in ODI.
    Thanks in advance

    I believe this can achieved using jython easily .
    Here is a sample output code
    Command on Source - Select database Technology and required logical schema
    Command on Target - Jython
    import java.sql as sql
    import java.io as io
    import string,re
    import java.lang as lang
    import java.text as text
    myCon = odiRef.getJDBCConnection("SRC")
    myStmt = myCon.createStatement()
    my_query="SELECT * FROM  SCHEMA.TABLE_NAME "
    file_count=1
    i=1
    myRs = myStmt.executeQuery(my_query)
    writer=io.BufferedWriter(io.OutputStreamWriter(io.FileOutputStream('c:\\FILE_'+str(file_count)+'.csv')))
    md=myRs.getMetaData()
    collect=[]
    while (i<= md.getColumnCount()):
        collect.append(md.getColumnName(i))
        i+=1
    header=','.join(map(string.strip,collect))
    #writer.write(header+'\n')
    myRs = myStmt.executeQuery(my_query)
    md=myRs.getMetaData()
    myRs.setFetchSize(5000)
    i=0
    while (myRs.next()):
        j=1
        col=[]
        while (j<= md.getColumnCount()):
            col_type=md.getColumnTypeName(j)
            col_name = myRs.getString(md.getColumnName(j))
            if col_name is None:
                col_name= ''
            col.append(col_name)
            j+= 1
        data=','.join(map(string.strip,col))
        writer.write(data+'\n')
        #print data+ '\n'
        i +=1
        if (i == 500):
            writer.flush()
            writer.close()
            file_count +=1
            writer=io.BufferedWriter(io.OutputStreamWriter(io.FileOutputStream('c:\\FILE_'+str(file_count)+'.csv')))
            i=0
    writer.flush()
    writer.close()
    myCon.close()Please run this code and let me know if you need any other help or modification to get your desired results.

  • How to increase the length of selection texts

    Hi to all..
    please do a favour......
    My problem is ,I am not able to enter long text in SELECTION TEXTS after certain length ,but we need long texts .So what I have to do to enter long texts..
    plz respond

    Hi Suribabu,
    In SE63 We can increase the length of the text.
    There is one option called Praposal,Edit Icon, There you can increase the length Max 255(see the Data element LXEUNITLIN) of the selection text.
    Regards
    Bhavani

  • How to increase the length of selection text

    hi All,
    I have a requirement where the select option text is longer then the usual size.
    I tried to use the selection screen comment but it is not coming in the same line.
    Kindly suggest on this.
    Select-options:s_st_obj FOR hrp1001-objid NO INTERVALS
    here s_st_obj text is Object ( PERNR / Position id / Org.id)

    Hi,
    I think not able to display all text, try to delete the spaces between words
    Object(PERNR/Pos id/Org.id)
    Regards,
    Sunil

  • How to get the sum of selected check boxes?

    I have created this simple form with several fields. Fields can be selected via a check-box and they have a price listed.
    I would like to have the sum of each selected product, added in total.
    You can check it out here: https://www.dropbox.com/s/wl1bqz4fa0vlrsk/Student%20Form.pdf
    Help.. anyone?

    it's me again..
    here's a solution: http://forums.adobe.com/thread/929801

  • Does anyone have any ideas how to fix the rendering problem on dialogue boxes, menu and address bars in the Beta?

    I am getting bizarre zigzag lines, bolded items on the vertical part of letters on the Menu bar and Address bar, and any edge of a dialogue box or input frame gets the odd zigzag lines on both sides.

    Your battery experience is unusual. While I don't use my phone a lot it is on 24/7. The mists I've seen my battery run down is to abut 45% after 10 hours offi the charger.
    Here's how to reset (reboot) your phone. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider until the Apple logo appears. Let go of the buttons and let the device restart.
    If that is what you did I suggest making an appointment at and Apple store for a consultation.

  • How can I have multiple-selection list box "select at least one checkbox" option active only when the section it's in is visible?

    Hi, I'm using SP13 and InfoPath2013.
    I created a custom form and published it to SP13 document library.  This form has many MSLB.  Depending on the checkboxes selected in the 1st MSLB, the other MSLB will either hide or show.  Each MSLB is in its own section.  The requirement
    is to have each MSLB to have at least one checkbox selected.  Well, the problem is that when that MSLB isnot checked in the 1st MSLB it is not visible and shouldn't require any checkbox to be selected.  However, the form can't get submitted instead
    an error dialog would pop up and ask user to make a selection for MSLB that is not even displayed.  Is there any way to fix this besides unchecking all MSLB to be not required at least one selection?  Thank you.

    Eric, 
    I follow your reply post here and still doesn't work.  I also noticed your screen shot of selecting a field is not the same as what I see in InfoPath 2013.  
    Here is what I did, 
    1.Check At least one selection required for
    these Multiple-selection List Boxes
    as you want .
    2.Create a Formatting  rule for the 2nd
    Multiple-selection List Box.
    3.Add a  Condition as below:
    4.  I get a validation error if I don't
    select at least one checkbox in the hidden MSLB control when submitting.
    I think I'm following all the steps correctly
    but please let me know if I'm not.

  • Multiple-Selection List Box Values in Multiple Columns

    I am using InfoPath 2010 with SharePoint 2013. I have a form with a multiple-selection list box which has A LOT of choices. Instead of displaying all the choices in one column, is it possible to display the values of my list box in several
    columns? 

    Hi Andrea,
    I agree with Brij, one multiple-selection list box is associated with one list field, we cannot use the one multiple selection list box value for other multiple selection list boxes, we need to create multiple choices for each multiple-selection list box
    control in InfoPath form.
    Thanks
    Daniel Yang
    TechNet Community Support

  • 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.

  • How to select the contents in a select list box....

    I want to look into a select list box and check whether something is existing if exists print that or add a new one...I want to count the number in the select list box....the selected lsit consists of string of names....i have to choose my favourite name ...if present....
    Please help me...

    Akrisha wrote:
    HTML List box ....in java script....This is Java forum.
    In JavaScript you should use select.options[index] blah blah ...

  • How to fix the above mentioned, *"special Incoming Closed margins"*.

    Valuation runs (TPM1) fails with the error below:
    Unfixed bus. trans. with posting date 02/23/2012 before key date (long text)
    Message no. TPM_TLV1028
    Diagnosis
    The position that is to be valued contains a position-relevant business transaction Close margin listed options and futures in status Scheduled with posting date 02/23/2012 This is earlier than the valuation key date.
    Question is how to fix the above mentioned, "special Incoming Closed margins".
    PLease note that TPM18 or TBB1 does not work....
    Regards,
    Rahul

    Hello Lorenz,
    I get no flows selected but report tpm13 clearly shows there is an OUTGOING CLOSED MARGIN update type in scheduled status ?
    Any ideas. This issue has been reported before but no results.
    Regards,
    Rahul

  • How to fix the "MIME types" problem  !

    Hello !
    How to fix the problem of "MIME types", Windows doesn't want to keep the APPS by default !!!
    When I try the application by default (for ex. right clic on .PSD files and "open with"), then I validates the selection program (Photoshop.exe), it does not appear in the selection of programs by default in windows!
    Result, even dynamic objects no longer open in my applications and all adobe files icon don't appear in explorer
    Thx

    I find a solution who works for me (Win7 64bit) !
    Use a Registry cleaner (ccleaner) and kill old file format entry !
    Now restart association with a .AI file, because the way to .exe is in another place like other apps !
    Try this:
    First, right click on your illustrator apps icon (desktop or Start menu) and choose "open the file location" and copy the dir ("C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Contents\Windows" for me )
    Right clic on your .AI file and select "Open with", now click on "browse" to "C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Contents\Windows" for 64bit system.
    "Windows" say "you've got problem with registry file association" the correction's automaticatly and the illustrator icon appear in the list of default apps.
    Select and valid him
    Now, do the same for all your "unknown files type" with the good apps !

Maybe you are looking for