Cannot retrieve into text area!!

please urgent....
To make a text area that take text from the user in the dynamic page using the PL\SQL.i write this code:
<oracle>
declare
text varchar2(500);
begin
htp.formtextarea('textareaname',10,50,null,null);
text:= htf.formtextarea('textareaname',10,50,null,null);
end;
</oracle>
and it work well. but i wish to display a text in it to the user. That is to say when the user run the dynamic page the textarea appear containg this text, and the text i want to display is stored in the database. How can i do that, how to retrieve text from the database into the text area???
please answer me quickly.

This is my pl/sql code:
DECLARE
V_USER VARCHAR2(25);
BEGIN
V_USER:=v('APP_USER');
IF (:P8_COMMENT IS NOT NULL)
THEN
INSERT INTO COMMENTS(COMMENT,COMM_DATE,COMM_USER,REQUEST_ID)
VALUES (:P8_COMMENT,SYSDATE,V_USER,:P8_ID_REQUEST);
END IF;
END;
So, when I enter text into item :P8_COMMENT, and press my update button, it's like I haven't entered anything.
Thank you.

Similar Messages

  • How to get the long text into text area

    Hi,
    save_text is working fine .
    Now I want to display the text in text area .
    am using read_text fm for this and data is coming into the internal table of the function module.
    how shd I display that long text into text area and that text shld appear has display mode only and how shd I make all other fields in my subscreen as display mode.
    Pls guide me its urgent.
    thanks,
    krishna

    Hai.
    check this.
    Long Texts are stored in tables
    STXH - header
    STXL - details.
    if you want to read the texts you can use Fun Module  READ_TEXT
    Any Application document Header and Item Long texts are stored in STXH table with the 4 parameters OBJECT,ID,NAME and LANG
    These texts are fetched from database using READ_TEXT fun module by passing the above 4 parameters.
    Double click on the text, from the text editor menu GOTO-> HEDAER
    you will find the all above 4 parameters
    so accordingly you have to pass to the fun module READ_TEXT to fetch the texts.
    example:
    Re: upload longtext from excel file  
    REPORT  zupload_excel_to_itab.
    TYPE-POOLS: truxs.
    PARAMETERS: p_file TYPE  rlgrap-filename.
    TYPES: BEGIN OF t_datatab,
          col1(30)    TYPE c,
          col2(30)    TYPE c,
          col3(30)    TYPE c,
          END OF t_datatab.
    DATA: it_datatab type standard table of t_datatab,
          wa_datatab type t_datatab.
    DATA: it_raw TYPE truxs_t_text_data.
    At selection screen
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          field_name = 'P_FILE'
        IMPORTING
          file_name  = p_file.
    *START-OF-SELECTION.
    START-OF-SELECTION.
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
        I_FIELD_SEPERATOR        =
          i_line_header            =  'X'
          i_tab_raw_data           =  it_raw       " WORK TABLE
          i_filename               =  p_file
        TABLES
          i_tab_converted_data     = it_datatab[]    "ACTUAL DATA
       EXCEPTIONS
          conversion_failed        = 1
          OTHERS                   = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    END-OF-SELECTION.
    END-OF-SELECTION.
      LOOP AT it_datatab INTO wa_datatab.
        WRITE:/ wa_datatab-col1,
                wa_datatab-col2,
                wa_datatab-col3.
      ENDLOOP.
    refards.
    sowjanya.b

  • How to insert an image into text area?

    Hi everybody,
    I have a proplem : insert an image into text area ( likely Yahoo Chat)
    eg : Hello,World :D =)) :x
    I can't do it.
    Can you help me?
    Thank you!
    Edited by: Chelsea_Drogba7589 on May 28, 2010 9:28 PM

    StanislavL wrote:
    [http://java-sl.com/tip_autoreplace_smiles.html]
    Neat example. :)
    Try this.I did and was at first confused because I expected the code to arrive on-screen looking like the screen-shot at the page. Then it occured to me to type some text including a smiley, and it changed to the icon as expected.
    For other people like me who are not quite very clever, how about adding an 'Instructions' section, or initializing the JEP with instructions?
    BTW -
    "The screenshot shows how it looks like:" reads better as..
    "The screenshot shows how it looks:"

  • File upload component and text area issue

    Hi guys,
    I have static text, text area and button on the same page. Text area binded to session bean value and all works fine (I can input text into text area and press button to save changes).
    After adding file upload component to the same page I have got a problem - now after page refreshing the non english characters inside text gets trashed.
    Other non english characters - inside static text components remains the same - the problem relates only to text area.
    It looks like file upload component code has an encoding related bug. Is that a known issue?
    And may be somebody have a workaround?
    Thanks.

    Hi Rom@n,
    I did some checking and this issue is currently logged as: 6442528. It is scheduled to be available in the next patch release. I'm sorry I don't have a time frame for the patch since it is still waiting for other fixes.
    Sorry for the inconvience.
    Lark
    Creator Team

  • Text Area 400 Bad Request Error in apex

    Hi All,
    I am having a problem with putting a large amount of text into text areas.
    I did the following. Create a new page. Create an HTML region within that page. Create a text area within that region. Set the Maximum Width to 5000. Create a button within the region that submits the page and goes to the same page.
    In fact, I have found that I can put up to 32512 bytes in the text area
    But when i am trying to put less than 5000 it is throwing error, can any one help me out on this. Howe can restrict this scenrio.
    Thanks,
    Anoo..

    Anoo wrote:
    I am having a problem with putting a large amount of text into text areas.
    I did the following. Create a new page. Create an HTML region within that page. Create a text area within that region. Set the Maximum Width to 5000. Create a button within the region that submits the page and goes to the same page.
    In fact, I have found that I can put up to 32512 bytes in the text area
    But when i am trying to put less than 5000 it is throwing error, can any one help me out on this. Howe can restrict this scenrio.What error?
    Where does Debug show the error is occurring?
    See +{message:id=10397122}+

  • Coursebuilder - 5 text areas for 5 possible scores. Each possible answer has its own text area

    I'm trying to build an inventory form that has different
    point values for each possible answer for a particular question.
    there will be 5 possible answers, and I want to total all of the
    "a" choices into "text area A" (all "b" choices to total in "text
    area B"...ect.)
    I've tried breaking up each question into 5 separate
    coursebuilder interactions, using the action manager to sent the
    scores into 5 text areas. The interaction always breaks when I
    limit to one choice per interaction.
    Is this even possible?

    SDN is the place to discuss technical problems..
    Please avoid such weird post.
    G@urav.

  • URGENT: Entering Chinese into Java Text Area

    Hi,
    This might be an FAQ question but some of the info I've gotten over the web so far is conflicting.
    How do I allow a user to enter Chinese text into a Java Text Area (using an english keyboard)?
    All my users have:
    English Windows 2000 with a multilanguage pack. I cannot change this.
    But, I can specify any downloads (IMEs, etc.) and I can choose whichever version of Java I desire.
    Please let me know what is the simplist way to enable Chinese data entry in this environment. Let me know if I need to create my own input type :( or I can use MS Global IME) or if there are other third party chinese input types (even if they are not free).
    Thank you and have a nice day.
    Best Regards,
    Carlos

    Thanks for the note. The news was depressing - but things are much clearer now :) I would like one more clarification, though -
    On the MS site, I quote
    Any user who needs to input East Asian text across the language platforms of Windows Me, Windows 98, Windows 95, or Windows NT 4.0 could use Global IME.
    "Note: On Windows 2000, the Global IMEs work in any application since that OS has full-featured East Asian input support built in. On Windows Millennium, Windows 98, Windows 95, and Windows NT 4.0, the Global IMEs work only in supporting applications."
    When they say they say "full-featured East Asian input support built-in" does that exclude Java? If it would work, would it work with Swing or only AWT?
    Any thoughts? Thanks again for your not, I would greatly appreciate it if you could help me with this clarification.
    Best Regards,
    Carlos

  • I have another computer that a virus may have taken over and I cannot log into it anymore.  I just downloaded Itunes on a new computer but most of my songs are not on there.  Is there a way to still access or find those songs?  Remotely or another way?  I

    I have another computer that a virus may have taken over and I cannot log into it anymore.  I just downloaded Itunes on a new computer but most of my songs are not on there.  Is there a way to still access or find those songs?  Remotely or another way?  Or do I need to take it to a tech to get my files off of my hard drive?

    Edit > Preferences > Store check Music under Automatic Downloads.
    Open the iTunes Store from left hand column, then select Purchasedfrom the column on the right, click the Not In My Library button and select the tunes you want to download again.
    That said, you seem to be under a misapprehension as to how iTunes works, or at least how it has worked in the past. It has, until recently, been up to you take care of your purchases once they have been downloaded. You had a one-time download which you were reminded to back up. With the recent change to this policy you can at least download your store purchases again, but having a personal backup of your iTunes store purchases, stuff purchased elsewhere and files ripped from your CDs will still be preferable to gathering all the stuff together again in the event of a disaster.
    For a backup strategy see this User Tip.
    tt2

  • How do I retrieve all data from a table and display it on a text area?

    I want to retrieve all the data from one of my MS Access data table and display them all in a text area. how do i go among doing this?
    In my car table i have the fields lined up like this..
    license,color,doors and year_made
    I have an Object class called CAR that will contain methods to set the data from these fields when it gets retrieved.
    here's what i go so far.....
    statement = getDBConnection().createStatement();
         rs = statement.executeQuery("select * from car");
         boolean moreRS = rs.next();
    if(moreRS)
    car.setLicense(rs.getLong(1));
         car.setColor(rs.getString(2));
         car.setDoors(rs.getString(3));
    car.setYearMade(rs.getString(4));
    //but this will only get me one car. How do I get more car data?
    HELP!!

    Vector cars = new Vector();
    while (rs.next()) {
      String license = rs.getLong(1);
      String color = rs.getLong(2);
      String doors = rs.getLong(3);
      String year = rs.getLong(4);
      myTextArea.append(license+"\t"+color+"\t"+doors+"\t"+year+"\n");
      Car car = new Car();
      car.setLicense(license);
      car.setColor(color);
      car.setDoors(doors);
      car.setYearMade(year);
      cars.add(car);
    }t=tab
    n=newline
    Vector: http://java.sun.com/j2se/1.4.1/docs/api/java/util/Vector.html

  • I am having difficulty including text with iPhotos I want to share through email.  I get a red exclamation mark along with a statement stating that the text doesn't fit into the designated text area.  This is so frustrating.

    I am having difficulty including text with iPhotos I want to share through email.  I get a red exclamation mark along with a statement stating that the text doesn't fit into the designated text area.  This is so frustrating. Before iLire11 I was easily able to share photos with email messages.  Arghhhh!

    In the iPhoto preferences you can set Apple Mail as your e-mail client and then it will work exactly as before
    LN

  • Can a script manually insert a delete (or backspace) into a text area?

    I'm new to action script, so this may have a simple answer, sorry if that's the case.
    I have a little movie created with a simple purpose of trying to mimic a system like cell phones have for character input.
    There are two text areas, one hidden off the screen that accepts the input from the user; a second text area in on screen and displays what the user had entered after some basic processing on the input.
    The hidden text area is pretty basic with listener that is responsible for grabbing the input keys and then mangling them to be inserted into the displayed text area based on the cell phone text entry multi-tap rules. Example user press 2-2-2  and the hidden input accepts 222 and then appends 'C' to the display text area. That's working great, but I have a problem if the user wants to delete from the display text area. I can't find a way to insert a delete or backspace key into the display text area. I've tried using StringFromCharCode (8) // Key.BACKSPACE, but that doesn't work. That just displays one of those undefined glyphs. I figure that things like clear, and delete are handled somewhere higher in the input chain and that's where I'm having a problem.
    I've looked, but I can't find a way to delete a single character from the text area. I was thinking if I could find the cursor location that I could just use some delete character method to get the job done, but I couldn't find how to do that.
    Any ideas on how to pull off manual delete function in a text area?

    Ned, I do really want to manually (by method of code) trigger a delete in a text area. The delete (or backspace) that I want added to the text area isn't directly entered by the user, it's the result of several key presses by the user. That's why I called it "manual" because it's done by the code, not by the user's direct input.
    Think about how text entry works on most phones... if you want to enter a letter you have to cycle through all the letters on a single key until you get to the character desired. As I stated before, if you want a 'c' you need to press 2 button 3 times. This is basically what I'm trying to do, but I want to add the ability to delete a character too if the correct sequence in entered, for example a sequence of ### would equal a backspace.
    Rothrock, I think you were thinking the same thing that a single key is used to do a backspace.
    I was thinking that I could possibly insert key event into the event queue for the text area to process, but I wasn't sure about that.
    Sorry, if this is confusing, I know it's not a straight forward design. I need onscreen and offscreen text areas with the onscreen one acting as a slave of the offscreen one.
    The way the code currently works is hidden text area had a listner that responds to changes, and that handler processes the key entered and deletes that character from the hidden text area. After the full sequence of characters (say 2 button has been pressed 3 times) the handler then sends the resulting character into the display text area. This part of the code works great. I can add any character including some specials like tab and newline. However if I want the text area to delete a character I don't have a way to do that. That's why I tried to insert the backspace key (0x08 or ^H, for other oldschoolers), but using that as a char code or string from char code doesn't work.
    I had also tried to create to set the focus to the display text area then create and dispatch a backspace keydown and keyup events to the visible text area and then return the focus back to the hidden textarea, but... no luck.

  • HT1174 On the opening screen of my ipad2 the itunes apple icon and the usb cord are displayed.  What do I do to delete them?  Do not tell  ll me to download something, as I cannot get into the ipad

    On the opening screen of my 1pad2 the itunes apple icon and usb cord are displayed.  How do I delete them?  Do NOT tell me to download anything, as I CANNOT GET INTO THE IPAD.

    You can't get rid of those icons because that means that you MUST connect the iPad to your computer's iTunes and restore the device. You have no choice. There is no way to remove that from the screen. Something went wrong on the iPad and you need to restore it now.
    iTunes: Restoring iOS software

  • Since ios 8, imessages are turning into texts. And the receiving person has an apple device. why?

    Since ios 8, imessages on my iphone are turning into texts. and the recipients are using apple devices. Their reply messages come back in a new message, without the history. and often their address is an icloud one and not their phone number (which is where I sent it). Why?

    As in the link when you send an iMessage your text bubble is blue. If it's sent SMS your text message is green. Both parties will receive the message or reply in a grey bubble. When you contact them ask them what colour their sent text messages bubble are.
    As for group messages check your settings. MMS must be turned on; Settings > Messages. Send as SMS must also be turned on.

  • Error when pasting 1K of text into a text area of tabular form

    This appears to be a bug to me, put please offer suggestions if you have them....
    Using apex with XE, I have created a table with two varchar2(4000) columns in them. The user will paste large blocks of text into one or both of them (e.g paste text copied from e-mail).
    I created a tabular form and set the two fileds to display as "text area". Insert and/or update works fine unless I paste more than about 1 to 1.5 kbytes of text into one of these fileds, in which case I get a page not found error with the following URL:
    http://127.0.0.1:8080/apex/wwv_flow.accept
    After the error page displays, I can hit the back button and then remove just enough text to get it to under the 1 to 1.5 kbytes and then either insert or update works fine.
    One more bit of info. If I create a single row form then it works fine, it is only the multi-row tabular form that seems to have this issue.

    I don't think the character set is the problem. I used a string of numbers 0123456789 and just copied and pasted it repeatedly to build up the text. The database character set is WE8MSWIN1252.
    Regarding the apache log. I have to admit that I don't even know if I'm running apache. I am using a newly installed Oracle XE on a laptop in order to get some experience with application express. This app is the first one I've done. If someone will direct me to the log then I'll be glad to check it and post the relevent contents.
    I signed up for an apex workspace and intend to see if I can recreate the error from there so I can see if the problem is just in the free version of apex that comes with the Oracle Express Edition for windows database.

  • Cannot input data into Text Field on from Adobe Acrobat  Reader

    I created a form in Acrobat 5 that has check boxes and text fields. Using reader I can open the doc and use check boxes and input text into fields. Once this doc is loaded to our web server and a user opens or downloads the file they can check the boxes but cannot enter any text into the text fields. Am I missing something?
    Thanks in advance

    And so.. what is invalid?
    I've uploaded the pdf files as example:
    My generated pdf
    http://compuhelp.free.fr/adobe/before.pdf
    The modified version by Adobe Acrobat Reader:
    http://compuhelp.free.fr/adobe/after.pdf
    (I can generate a more complexe pdf file with fonts, images,... it will be displayed correctly, but Adobe always want to modifiy it).
    So perhaps I missed somthing into the pdf file format specification ?

Maybe you are looking for

  • Business Process Engine Error and Adapor Monitor JPR error in PI 7.0 Server

    Hello, I have installed PI7.0 Server on windows server. When I use SXMB_IFR tcode I got RWB screen and RWB Business Process Engine is in red. though I have configured automatic workflow customizing through SWF_XI_CUSTOMIZING tcode. Still i am getting

  • Netweaver 7.01 License Problem - Advanced

    Hi there, I have been running SAP Netweaver 7.01 for a few months now without any problems. I have renewed the license once or twice before. This time when I try to renew the license, it is giving me problems. Some details about my version of Netweav

  • Merging 360s in lightroom CC

    has anyone successfully merged a 360 for an interiorI'm struggling with a series of photos of interiors/rooms, I'm finding that the walls with a low amount of detail being placed in the wrong location. Can we adjust where the photos are being merged

  • Combine RV042G with wireless router

                       Hi, I bought a RV042 dual WAN router. I have two ISP's, one Satellite Internet and one Fixed wireles. Now I would pefer to hook up both Inernet connections to the RV042 and then connect to a wireless router ( I have a D-Link DIR-65

  • Multi-cam project crashing in FCP

    Hi, I'm cutting a multi-cam project and the system I'm cutting on keeps crashing - and it appears to be crashing just after the auto save. The project is a five camera shoot, all on XDCam EX3 35mbs 1080 / 25p (ingested into FCP, native clips are then