Link to home
Start Free TrialLog in
Avatar of NiceMan331
NiceMan331

asked on

Clear non_database items After Query

please see the solution of markgeer here
https://www.experts-exchange.com/questions/28463857/Query-record-if-it-is-exist.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
ASKER CERTIFIED SOLUTION
Avatar of Mark Geerlings
Mark Geerlings
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NiceMan331
NiceMan331

ASKER

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
https://www.experts-exchange.com/questions/28463857/Query-record-if-it-is-exist.html?anchorAnswerId=40218110#a40218110
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
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.