Set maximum number of line in text area

Hi !
I need to limit my text area to 3 lines. How do I do this ?
I was thinking about character limitation but if the user
press "enter" 3 times, I'm screwed since it is only 3 characters
but it bust my 3 lines limit.
Thx guys !

You should never limit them to a set number of lines. Go for
character limitation and test the input value before allowing them
to submit the form.

Similar Messages

  • Maximum number of line items in sales order

    hi,
    Is there a limit on the maximum number of line items that are permitted in a sales order?
    Thanks,
    Shailaja

    Hi
       I think the correct reply would be 999,999 because data type of item number POSNR is NUM 6, which means that it can hold upto value 999,999.
         However, at the same time keep the following into consideration:
    1. FI document has a restriction of 999 line items per document. So, depending on the account settings, there will be a lower limit. E.g. if each Sales order line item results in 2 line items in the accounting document, then the max. no. of SO line items is limited to 499.
    2. If FI summarization is active, then the system summarizes the account postings, thus reducing the no. of FI line items. Hence, a SO can accomodate more than 999 line items. However, this means that certain line item level details will not be available to the Finance guys (which they may not like).
    3. As the number of line items in a Sales order increases, the system performance suffers greatly. There are performance fixes available, but in general, it is painful to load a SO with large no. of line times through BDC's. 10 Sales orders with 100 lines each consume less system resources than 1 Sales order with 1000 lines.

  • Maximum number of lines in UTL_FILE?

    I am using the UTL_FILE package to dump the content of a package to a file. But I find that for packages that are large, the file is getting truncated when written out (it breaks at around 1680 lines or so).
    I confirmed that there is no problem with the read part, by doing a dbms_output.put_line for that particular package.
    Is there any setting on the maximum number of lines that can be written out here? I am using version 8i or Oracle. Thanks.
    Regards,
    Srini

    OK, here is my code: thank you.
    CREATE OR REPLACE PACKAGE BODY Code_Dump AS
    PROCEDURE write_nonpackage_to_file(fname IN VARCHAR2) IS
    fileHandler UTL_FILE.FILE_TYPE;
    fileName VARCHAR2(400);
    CURSOR c_file_content IS SELECT * FROM user_source WHERE name = fname AND NOT (type like '%PACKAGE%') order by line;
    BEGIN
    fileHandler := UTL_FILE.FOPEN('/users/mydir/tmp', fname || '.sql', 'w',1022000);
    UTL_FILE.PUTF(fileHandler, 'CREATE OR REPLACE ');
    <<file_writing_loop>>
    FOR each_record IN c_file_content LOOP
    UTL_FILE.PUT(fileHandler, each_record.text);
    END LOOP file_writing;
    UTL_FILE.FCLOSE(fileHandler);
    END write_nonpackage_to_file;
    PROCEDURE write_package_to_file(fname IN VARCHAR2) IS
    fileHandler UTL_FILE.FILE_TYPE;
    fileName VARCHAR2(400);
    rec_type VARCHAR2(40);
    CURSOR c_spec_file_content IS SELECT * FROM user_source WHERE name = fname AND type LIKE 'PACKAGE' order by line;
    CURSOR c_body_file_content IS SELECT * FROM user_source WHERE name = fname AND type LIKE 'PACKAGE BODY' order by line;
    BEGIN
    dbms_output.enable(10000000);
    fileHandler := UTL_FILE.FOPEN('/users/mydir/tmp', fname || '.sql', 'w',1022000);
    UTL_FILE.PUTF(fileHandler, 'CREATE OR REPLACE ');
    <<file_spec_loop>>
    FOR each_record IN c_spec_file_content LOOP
    UTL_FILE.PUTF(fileHandler, each_record.text);
    END LOOP file_spec_loop;
    UTL_FILE.PUTF(fileHandler, '/\n');
    <<file_body_loop>>
    FOR each_record IN c_body_file_content LOOP
    UTL_FILE.PUTF(fileHandler, each_record.text);
    END LOOP file_body_loop;
    UTL_FILE.FCLOSE(fileHandler);
    END write_package_to_file;
    PROCEDURE dump_code (p_dump_what IN VARCHAR2) IS
    CURSOR c_all_code IS
    SELECT DISTINCT name, type FROM user_source;
    my_copy VARCHAR2(40);
    BEGIN
    my_copy := p_dump_what;
    <<each_file>>
    FOR each_record IN c_all_code LOOP
    IF each_record.type = my_copy THEN
    dbms_output.put('parameter: ' || my_copy ||' ');
    dbms_output.put_line('record type: ' || each_record.type);
    END IF;
    IF each_record.type <> 'PACKAGE' AND each_record.type <> 'PACKAGE BODY' AND each_record.type = my_copy THEN
    dbms_output.put_line(each_record.name);
    write_nonpackage_to_file(each_record.name);
    END IF;
    IF each_record.type = 'PACKAGE' AND each_record.type = my_copy THEN
    write_package_to_file(each_record.name);
    END IF;
    END LOOP each_file;
    END;
    END Code_Dump;

  • Maximum number of lines textfield

    Hi everybody !
    I need to set a maximum number of lines on a text field that should be expandable up to that line number and not beyond.
    Who do I know how to do?

    You can control the number of chars in the field, you can limit the field to the visible area but you cannot dictate a number of lines that the field can be. The closest thing you can get is to make  the field the max number fo lines and then use "limit to visible area" so that people cannot add more text.
    Paul

  • Maximum number of line items

    Dear All,
    I am facing an issue in the maximum number of line items EBP purchase order.
    We are in SRM 4.0 using extended classic scenario.
    In EBP PO, if the number of line items is more than 50 then we are getting the dump error "Field symbol has not yet been assigned" when we try to display the PO in Process purchase order transaction.
    In process purchase order, if we click on the start after enting the PO number then it is giving the dump error. But we could able to display the PO by clicking on the details icon of the PO after searching with time frame.
    Dump error is occuring only when we try open the PO header node to see the list of items of the PO. Until the PO is having 50 line items we dont have a problem. If the PO is having 51st item then we are getting the dump error.
    Have anyone faced this issue? Please help me to resolve this.
    Thanks.

    Pradeep,
    Dump error details:
    What happened?
        Error in ABAP application program.
        The current ABAP program "SAPLBBP_PDH_SEARCH" had to be terminated because one
         of the
        statements could not be executed.
        This is probably due to an error in the ABAP program.
    Error analysis
        You attempted to access an unassigned field symbol
        (data segment 32774).
        This error may occur for any of the following reasons:
        - You address a typed field symbol before it is set using ASSIGN
        - You address a field symbol that points to a line in an internal table
          that has been deleted
        - You address a field symbol that had previously been reset using
          UNASSIGN, or that pointed to a local field that no longer exists
        - You address a global function interface parameter, even
          though the relevant function module is not active,
          that is it is not in the list of active calls. You can get the list
          of active calls from the this short dump.
    Information on where terminated
        The termination occurred in the ABAP program "SAPLBBP_PDH_SEARCH" in
         "SUB_LIST_GET".
        The main program was "SAPLBBP_PO_UI_ITS ".
        The termination occurred in line 191 of the source code of the (Include)
         program "LBBP_PDH_SEARCHF10"
        of the source code of program "LBBP_PDH_SEARCHF10" (when calling the editor
         1910).
    Thanks.

  • Maximum number of line items in PO/SA....

    Hi,
    1.
    What is the limitation on maximum number of line items in a PO/schedulling agreement/Contract.
    2.
    Also what is the maximum permissible number of lines in a single accounting document possible.As far as I know there is a limitation of counter 999 meaning if an aaccounting document is generated after GR then it will only allow max 999 lines.
    Is there any other way to avoid this.Because in my case I have for several line items in PO and several pricing conditions with separate GL account.Now when I do GR and if a PO has many line items with about 4 to 5 conditions then for each line item there would be minimum 6-7 entries.
    How can this best be handled in SAP.
    I was being adviced to split the GR but is there any better way or is there any option like summerised acounting document ?
    Please suggest as this is most critical for me.
    Thanks in advance
    Regards,
    manOO

    Hi,
    There is no limitation in PO.  But if you want, you can use following user exit;
    <b>EXIT_SAPMM06E_012</b>
    With regard to Maximum Number of items: There is a limit of (999) line items which can be posted per FI document. This is because the line item number (BSEG-BUZEI) field length is defined as (3) numeric positions, i.e., (999) line items.
    The most commonly used workarounds are as follows:
    (1) Implement FI summarization (per note 36353).
    (2) Cancel the original billing document and split it into smaller documents using different payment terms but actually with the same terms, in case of invoice verification.
    This will avoid the (999) line item limit for FI postings. Please also have a look at the note 117708 and 77161.
    Bye,
    Muralidhara

  • What is the maximum number of 263 byte text files that can fit in a folder?

    what is the maximum number of 263 byte text files that can fit in a folder - on a windows 2000 operating system?
    I created a java program that creates these text files.
    It was set to loop 30,000 times.
    It created a total of 21874 html files before throwing a null exception.
    I tried to copy and paste 10 more html files manually and it said not enough disk space.
    however, I made a New Folder in that same folder and I was able to successfully paste the folders in
    there.
    That's interesting.
    It appears there is a size limit in each folder, BUT I can make another folder within that and successfully paste more html files in there
    Does anyone know the rules governing this feature.
    Stephen

    Whatever the answer is, it has nothing to do with Java programming. Microsoft might know, though, and that's where you should look.

  • How do i detect the maximum number of lines

    Situation:
    I have a textfield that displays about 8 lines of text before
    the content would need to be scrolled to view the remaining
    content.
    Question
    Rather than having some ActionScript that is constantly
    trying to scroll the field, how do i detect the following.
    How do i determine the maximum number of lines that may be
    displayed in a textField (or any type of text field) before
    scrolling would be needed?
    Please specify the method. Thank you.

    When tracing the output using the bottomScroll, it only tells
    me how many liines I have output to the textfiedl, it does not tell
    me how many lines the textfield can hold.
    How do I determine how many lines a textfield can
    hold?

  • Maximum number of line items in delivery

    HI experts,
    For open sales orders deliveries are created through VL10c in  background  job
    what are maximum number of  line items a delivery can have and How do I ristrict the Line items?
    Thanks in Advance.

    In standart there is not limit of quantity items in Delivery.
    But you can make limit - see Note 103334.
    SAP recomended 300 pos.

  • The below vi is not giving me what I want. If I select 2 with maximum number of 3 then there are 3 array elements display that is correct but if I select 8 with the same maximum number of 3 then only 1 array element display. Why is that?

    The below vi is not giving me what I want. If I select 2 with maximum number of 3 then there are 3 array elements display that is correct but if I select 8 with the same maximum number of 3 then only 1 array element display. Why is that?
    Attachments:
    test2.vi ‏29 KB

    It's because in case 2 you hold the array build result from the previous loop iteration in a shift register...in case 8 you do not...
    You say that if you set the maximum number to three it will produce an array with three elements, that is not correct, it will run when the iteration index is 0,1,2 and 3...resulting in 4 elements. If you want 3 you need to decrement the maximum number to 2. The same goes for case 8.
    MTO

  • Illustrator won't run: "unable to set maximum number of files to be opened"

    I have an intel macbook pro (core duo with 2GB ram) and a copy of purchased adobe creative suite 2. Other applications in the suite like photoshop, acrobat, etc can run on my mac without any problem. But when I try to run illustrator, it just shows an error message "Unable to set maximum number of files to be opened" and quits. I also installed a trial version of illustrator cs3 and got the same problem. Can anyone help? Thanks.
    CC

    Hi, I realize this is an old thread but it was unanswered and the issue has come up again in a newer thread:
    http://forums.adobe.com/message/2534652
    If the original poster sees this, can you reply tin the new thread and let us know if you were ever to solve this problem?
    Thanks!

  • How to set maximum number of jobs in oracle

    Could pls tell explain me about how to set maximum number of jobs in oracle....
    Regd,
    Mahi

    I don't think there is any limit on number of jobs that can be submitted to Oracle. However, there is a limit on the number of processes that would execute those jobs (governed by JOB_QUEUE_PROCESSES).
    Message was edited by:
    Satish Kandi
    Typo corrected.

  • 8330 Call Forwarding​...How do I set the number of rings before calls are forwarded?

    8330 Call Forwarding...How do I set the number of rings before calls are forwarded? Right now it instantly forwards my calls but I don't want that. I want to change it so that let's say that if after 5 rings I don't answer the call is forwarded. I've looked everywhere for an answer but have had no luck. Any help would be appreciated. I am with Virgin Mobile if this makes a difference.
    Thank you 
    Message Edited by 8WDDdotcom on 08-01-2009 02:39 PM
    Message Edited by 8WDDdotcom on 08-01-2009 02:44 PM

    Well, call forwarding is a feature provided by your carrier -- it is not a function of the device. However it works for your carrier is how it works. Actually, from what I understand about call forwarding, it normally is an all-or-nothing circumstance...calls forward to the number you've asked them to be forwarded to, keeping you in a DND status. Regardless, though, if your carrier tells you how it works on their system, there's nothing that the device can do to override that. Unless there is some kind of 3rd party app that would do it, bypassing (somehow) the carrier network CF feature...but I've never heard of such a thing.
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Set the number of lines allowed in multi-line text field

    Hi,
    I am designing a form where I have some multi-line text fields where I only want the user to be able to enter a maximum of say 5 lines. I know I could do this by enabling the "Limit Length to Visible Area" option, however, this option is ignored by Reader 7 and the field scrolls, hiding any text that spills beyond the visible area from printouts. It works great in 8 though. To avoid this bug/feature in Reader 7, is there some script that I can use to limit the number of lines allowed in a text field?
    Thanks

    I ran into similar issues switching between Acrobat/Reader. Here is the prominent code that works for me when I use this in "Enter" event of the textField.
    var aSOM=this.somExpression.substr(15,this.somExpression.length - 1);
    var acroField = event.target.getField(aSOM);
    acroField.doNotScroll = true;
    I chose Allow Multiple Lines alone and noting else.
    Good Luck,
    SekharN

  • Maximum number of lines / text in a cell

    I am compiling information in a spreadsheet. One column is for URLs. I'm entering multiple URLs (i.e. www.webiste.com) in the same cell. In order to go the next line (from within the same cell), I press "Option-Return" and type the next line of text (URLs).
    It's been working fine until last night when I entered maybe 50 URLS. Typing "Option-Return" would not go to the next line even though there was space left in the cell.
    I tried different things, like pasting text at the end of the last line. The text would not appear. Yet, when I select the whole cell and copy-paste it into a Text document, that new text appears.
    Is that a bug or is it just me who does not know how to use Numbers?

    I made a test.
    I imported bookmarks from Safari.
    I cleaned the file to keep only the URLs
    There where 415 for a total of 21440 characters.
    I pasted all of them in a single cell.
    I saved the doc, re opened it.
    The cell was correctly embedding the 415 URLs.
    It's a foolish use of the spreadsheet.
    It was just a test for the fun.
    Yvan KOENIG (VALLAURIS, France) mercredi 2 juin 2010 15:13:37

Maybe you are looking for

  • Problem recording from external l

    I'm new here, I have a SB Audigy 2ZS, and I want to record from external line to my PC. I use a external mixer to connect cassette, mics, long plays to the PC, and I connect them to SB Audigy from "Input line". And I use the mixer to amplify the PC.

  • Contacts on iPhone

    If I file an Outlook Contact by Company Name on my PC, when it syncs to my iPhone it files that Contact by Last Name.  Is there a way to get my iPhone Contacts to use the same filing criteria as my PC?

  • Move stack canvas programatically at runtime

    hello all i have built a stack anvas on top of a content canvas which is always visible I want to create a functionality wherein i can move the stack canvas at runtime i want to create buttons Eg UP , Down ,Right And Left which could move the stack c

  • I can't make or receive calls on my iPhone 4S. Please help

    I can't make or receive calls on my iPhone 4S. Please help.

  • Lost Ipod Playlist

    I have a 5th Gen IPOD and lost my harddrive on my computer. Everything is backed up on my ipod and an external drive. All the playlist are only on my IPOD. Can anyone recommend a solution to get the playlists off the IPOD? I tried Yamipod, but it req