How do you write UNDO for a text item?? examples? or a REDO??

How do you write UNDO for a text item?? examples? or a REDO??
I created a pop-up menu with CUT, COPY, PASTE, UNDO, CLEAR for my text items.
Using MAGIC menu type works great but there is no MAGIC for UNDO or REDO.....
How do you write UNDO for a text item?? examples? or a REDO??
I have Oracle Forms 6i...
Lets say I highlight all the text in the text item, and start typing over it... then I realize OH NO it is the wrong text field...
Now I want to UNDO the typing and get back to the previous text.
I'd use the initial value that was populate right? How do I access that if that is correct?
Thanks, Bill

You can use;
<ITEM> := Get_Item_Property(<ITEM>,DATABASE_VALUE);
Or you will have to write a pre-text-item trigger;
PRE-TEXT-ITEM:
:CTRL.CURRENT_VAL := :<BLOCK>.<ITEM>
MENU (PL/SQL):
:<BLOCK>.<ITEM> := :CTRL.CURRENT_VAL;
You may also want to set the item property back to ITEM_IS_VALID so that item validation does not fire again.

Similar Messages

  • How to print sequence number for a text item in a oracle reports

    Hi
    I have text item which repets for every round,if i have 3 or 4 rounds i should number the text item as 1,2,3,4 etc.... in a report.
    Can anybody help me
    Thanks in advance

    Hi Bob
    Thank you for your reply.
    Here is the data for example:
    Jobxxxx
    Round
    assembly for 3d $200 1 $200.00
    proof for 3d $10 3 $30.00
    Round
    plate for 3d $200 1 $200.00
    image for 3d $10 3 $30.00
    Job yyyy
    Round
    assembly for 3d $100 1 $100.00
    proof for 3d $50 3 $150.00
    So Bob everything is comming from tables except round.
    My question is how to add sequence number to round adn the result should be like this:
    Jobxxxx
    Round 1
    assembly for 3d $200 1 $200.00
    proof for 3d $10 3 $30.00
    Round 2
    plate for 3d $200 1 $200.00
    image for 3d $10 3 $30.00
    Job yyyy
    Round 1
    assembly for 3d $100 1 $100.00
    proof for 3d $50 3 $150.00
    Thank you in advance

  • How to disable copy option for a text item in oracle forms

    Hello experts,
                  I am using oracle forms 11g with weblogic server 10.3.5 at windows7.I have a text item in my oracle form and I have to disable to being copy from a text item in oracle forms.Actually I have to make two text item.First text item to type a password and another text item is also to type password.Here I want that the data from first text item should not be copy through the use of mouse or keyboard shortcut key.
    thank you
    regards
    aaditya

    Thank You To reply, Actually doing so as you said,My problem would not be solved.This would hide data in text item than I will not be able to copy that but in my case the data should not be concealed.Actually I have to make a Form to  User registration and here is a strictly boundation to have a right email address of user.There would two text items for this purpose as: N_User_Email------> to type email address in text item.Here user would not be able to copy text written from N_User_Email R_User_Email  ------> to type email address again as in N_User_Email.

  • How do I write javascript for a text block to extract name from signature block?

    Hello,
    I've created a training certificate that the trainee has to sign electronically. To prevent someone from simply putting in their friends name in there and saving it; to send to their friend and help them from having to take the training and quiz I would like to write a javascript in the text block that would extract the name from their signature block and autofill the name in the text block. Is there a way to do this?

    You would have to use JavaScript to access the signature field object and then you can access the various properties of the signature depending upon the certificate or method for signing.
    signatureInfo
    console.show();console.clear();
    // Get particular info;
    var f = this.getField("Signature1");
    // uses the ppklite sig handler;
    var Info = f.signatureInfo();
    // Some standard signatureInfo properties;
    console.println("name = " + Info.name);

  • Using an Apple bluetooth keyboard, how do you hit "send" for a text message?

    I had been messing around with Apple's bluetooth wireless keyboard on an iPad at work, so I decided to see if it would pair with my iPhone 4. Well it did and it seems to work quite well. Have huge hands, I am not the best text messager. I figured I'd try using the bluetooth keyboard. It works great for typing out the text. If I hit return, it advances down a line. But I can't figure out how to hit "send" from the keyboard. Help.
    -Chris

    Look at wjosten's reply in this thread for one solution:
    https://discussions.apple.com/message/13218033#13218033

  • How to save session state for a text item

    hi @averyone,
    i designed in interactive report with one apex_item.text field, let's name it "count"
    normally the report has more then one pages.
    the report should work like a kind of a shopcart.
    the user enters some data into "count" and moves on to the next page(s) enters some more date and so on.
    at the end he/she will press an button to save the data into his shopcart.
    now the problem:
    whenever the page is changed, all data in "count" is lost because the column has no sesseion state.
    any suggestions how to solve this issue without saviing the date in the database everytime the page ist changed?
    thanks in advance
    peter

    Simon,
    i solved the issue using an existing table, which should act quite similar to collections:
    at user request i store all entries in this table & a the end a list of selected rows is presented to the end-user.
    thanks 4 ur assistance
    p.s have a look at the apex api "APEX_ITEM.DISPLAY_AND_SAVE" ?

  • How do you write sideways in Pages?????

    How do you write sideways in pages w/ the page upright?

    This awesome tip solved my issue; it works with graphics, too. Thanks very much!!!!!!!
    Create a text box, type what you want in it, then
    rotate it using the Inspector (Select the text box,
    go to the "metrics" tab of the inspector, and rotate
    it with the little wheel).

  • How to create transport request for standard text created using SO10.

    Hi,
    How to create transport request for standard text created using SO10?
    Regards
    Ramakrishna L

    Hi,
    For the Standard text created in SO10,
    please go to transaction SE78 -> FORM GRAPHICS->STORED AS TEXT->STANDARD TEXTS->
    Double click on ADRS or ST or what ever your type of text->
    Enter your standard text name
    Click on transport button->SHIFT+f6-> It will ask you for a transport request.
    Best regards,
    Siva

  • How do you get times on incoming texts?

    how do you get times on incoming texts?

    To use Videora iPod Convertor to convert movies for use on your iPod, consult these helpful links:
    To get started: http://www.videora.com/en-us/Converter/iPod/
    If you have questions: http://www.videora.com/en-us/Converter/guides.html
    If you have more questions, post them here: http://www.pspvideo9.com/forums/index.php?c=8
    Note that Videora iPod Convertor is a 3rd party program. If you need help with it, post your question there.
    GFF

  • How do you create a border around text?

    how do you create a border around text?

    Can you be a little more specific about what you are trying to do and the application that you want to use? The methods can vary depending on the application and who published it. For instance, if you're using Final Cut Pro here is a discussion describing how the border can be created.
    https://discussions.apple.com/thread/1470384?start=15&tstart=0
    If you are using an Apple branded application you can also post in the specific forums for those applications in order to help ensure a complete response.
    https://discussions.apple.com/community/ilife
    https://discussions.apple.com/community/iwork
    https://discussions.apple.com/community/professional_applications

  • How to create REQUEST NUMBER for STANDARD TEXT (SO10)

    how to create REQUEST NUMBER for STANDARD TEXT ( t-cODE SO10)

    you can do this using program RSTXTRAN .
    Text key - object
    Text key - name
    Text key - ID
    Text key - language, then it will store under one transport that can be moved to other system.
    check out the following link.
    http://help.sap.com/saphelp_47x200/helpdata/en/f4/b4a1ed453611d189710000e8322d00/frameset.htm

  • How do you write ?

    hi all,
    what is your preferred way to handle statements exceptions:
    try {
      Statement stm = conn.createStatement();
      try {
        // execute statements
        conn.commit();
      } catch (SQLException sqle) {
        // handle error
        conn.rollback();
      } finally {
        stm.close();
    } catch (SQLException sqle) {
      // handle error again ?
    }or ...
    Statement stm = null;
    try {
      stm = conn.createStatement();
      // execute statements
      conn.commit();
    } catch (SQLException sqle) {
      // handle error
      try {conn.rollback();}catch(SQLException sqle){/*nothing here ?*/}
    } finally {
      if (stm!=null)
        try {stm.close();}catch(SQLException sqle){/*nothing here ?*/}
    }or something else ? ...
    thanks

    Miksi tämä sähköpostiviesti on tullut minun osoitteeseen?   Eikä tämä ole ensimmäinen kerta kun minulle tulee väärin postia.   Miltä tämä sinusta tuntuu?
          Terv. Seppo
    Date: Thu, 22 Jul 2010 10:27:47 -0600
    From: [email protected]
    To: [email protected]
    Subject: Re: how do you write
    Hi Sandy,
    Acrobat Pro 9 is an excellent tool for creating and distributing forms; however, if a form was created in Acrobat and enabled for completion, you should be able to fill it out using Adobe Reader. As not all forms are enabled in this way, you won't be able to complete all forms digitally. For more information about Acrobat Pro, please refer to the product information page:
    http://www.adobe.com/products/acrobatpro/
    If you're using Windows, you can also download a free 30-day trial of Acrobat from right here:
    http://www.adobe.com/products/acrobatpro/tryout.html
    (Unfortunately, there is no Mac trial available at this time).
    I also encourage you to stay tuned to changes taking place at Acrobat.com over the next several months; you may find that they'll be interesting to you.
    Best regards,
    Rebecca
    >

  • How can you get audio for  books on the kindle

    how can you get audio for  books on the kindle

    The audio inputs on Macs are line level inputs and not mic inputs.  You need a mic with a built in preamp (battery powered) or more conveniently a USB mic or bluetooth headset.

  • How to get F4 help for Standard Text Key of a operation based on Order type

    Hi Experts,
      How to get F4 help for Standard Text Key (STK) of a operation based on Order type entered in selection screen. The F4 help should give the STK of related order type. At the same time the F4 help for Task Types based on Notification type. How to acheive the above two. Please provide the table names or any search help name if exists or Function modules...
    Thanks in Advance.
    Regads,
    Bujji

    Hi Guys,
       Any help on this...
    Regards,
    Bujji
    Edited by: Bujji on Dec 22, 2008 12:42 PM
    Edited by: Bujji on Jan 5, 2009 2:00 PM

  • IN NUMBERS HOW DO YOU FILL IN FOR A SERIES OF NUMBERS OR DATES

    In numbers how do you fill in for a series of numbers or dates without doing it manually

    You can enter a value in two cells that establishes a pattern, then select the two cells, then click (and hold) on the little circle at the bottom right corner of the selection and drag to fill as needed.
    A Number sequence:
    A Date sequence:

Maybe you are looking for