Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-04-15
5
Medium Priority
?
1,218 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
  • 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

971 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