Solved

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

Posted on 2009-04-15
5
1,146 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 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

790 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