Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
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 videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

746 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now