Solved

Clear non_database items After Query

Posted on 2014-09-04
4
383 Views
Last Modified: 2014-09-10
please see the solution of markgeer here
http://www.experts-exchange.com/Database/Oracle/Q_28463857.html

the code works well , but i have one issue , after the record query and want to to exit the form or query another record , it send me message : you want to save changes ?
i think it speaking about the 2 non_databse items which they filled by value
0
Comment
Question by:NiceMan331
[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
4 Comments
 
LVL 35

Accepted Solution

by:
Mark Geerlings earned 500 total points
ID: 40305746
No, this message in Oracle Forms is *NOT* caused by values in non-database items.  This message is related to changes of dataabse items in the form.  This happens when either:
1. the user changed a value in a database item (but did not press "Save")
2. a form trigger changed a value in a database item

To avoid this message (when you don't expect it):
1. Do not allow a post-query trigger to change database items
2. Do not use navigational triggers (including: pre-text-item, post-text-item, key-next-item, key-previous-item, etc.) to change database items
0
 

Author Comment

by:NiceMan331
ID: 40307233
Do not use navigational triggers (including: pre-text-item, post-text-item, key-next-item, key-previous-item, etc.) to change database items

but in same last quation you adviced me to use key_next_item
http://www.experts-exchange.com/Database/Oracle/Q_28463857.html#a40218110
0
 

Author Comment

by:NiceMan331
ID: 40314088
after investigating all codes , i found that i have wrong updating of one database item
under po_query of the form
it is ok now
thanx markger
0
 
LVL 35

Expert Comment

by:Mark Geerlings
ID: 40314464
Yes, a key-next-item trigger is a good option to use for some problems in some forms.  But like most tools, a key-next-item trigger in Oracle Forms has advantages and disadvantages.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Oracle 12c Default Isolation Level 17 56
oracle sqlplus query delimiter 8 40
return value based on substr 10 53
Oracle perfomance issue. 4 25
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
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 shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to take different types of Oracle backups using RMAN.

696 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