Solved

How to make an Undo process in Oracle Forms 6i?

Posted on 2009-04-15
5
1,166 Views
Last Modified: 2013-12-18
Hello!
I need to write an Undo option in a multiple data entry form. I want to apply this undo before commit changes, but only for the last single change I've made, for example, undo the last value I've typed or the last 3 check boxes I've clicked!
Is there any source example, or any idea?

Thank you in advance!
0
Comment
Question by:vfafou
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 12

Expert Comment

by:jwahl
ID: 24154908
your question is not clear to me: "but only for the last single change" and "the last 3 check boxes I've clicked" - these are 3 actions ...?
why do you want to do a undo before commit? always? conditionally?
0
 

Author Comment

by:vfafou
ID: 24154999
OK! Suppose you have a data block with 8 text items (fields) repeated 15 times (rows). You can do data entry or modification within this block. So, you have done some changes and you realize you have accidentally changed a record or a specific cell. You don't have an undo operation available but you have done some changes to other records and you don't want to lose them! Is it possible to make an undo capability at least at row level?

Thank you for your reply!
0
 

Author Comment

by:vfafou
ID: 24155009
Oh! I forgot to tell you that after changes you may haven't press commit key... Or you may have? Is it possible to have the undo after commit?
0
 
LVL 12

Accepted Solution

by:
jwahl earned 500 total points
ID: 24155058
if you have 15 records รก 8 text fields you can make changes in any order on every row in every field ... for a undo you have to record these changes and must do this with your own code, that gets very complex.

undo for the whole record is comperativly simpler: there is a forms built-in GET_ITEM_PROPERTY(item_name, DATABASE_VALUE), that returns the value that was originally fetched from the database.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle encryption 12 73
Oracle function to insert records? 15 83
Loading flat file data in tables 2 100
ORACLE SQL DEVELOPER + Compare Tables 5 37
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question