Oracle forms [message #675394] |
Tue, 26 March 2019 08:41 |
|
blackcat90
Messages: 2 Registered: March 2019
|
Junior Member |
|
|
Hi All,
I am working on the Purchas Order form and everytime I try to query on the purchase order lines ,it gives me a message "Do you want to save the changes you made ".I have not made any changes. I just open an existing Purchase order and try to query the lines but the message pops up. Kindly please help meto remove the message
|
|
|
Re: Oracle forms [message #675395 is a reply to message #675394] |
Tue, 26 March 2019 09:15 |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
You may not believe you've made any changes but trust me, you have.
Probably you've written some code that forces changes automatically without realizing it.
Forms will ask that question if the :system.record_status is either INSERT or CHANGED.
Are you using execute_query to populate the block(s)?
Are you modifying the values of any database item in post-query (or any other trigger that can fire while you're looking at the data)?
|
|
|
|
|
Re: Oracle forms [message #675403 is a reply to message #675402] |
Wed, 27 March 2019 08:54 |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
Well how is the po_lines block getting populated?
If it's populated using execute_query then it's status should be QUERY unless you've got some trigger code (post-query remains the most likely suspect for that) that forces a change by modifying one or more database items in the block.
If you're not using execute_query to populate it then that'll be the problem.
[Updated on: Wed, 27 March 2019 08:55] Report message to a moderator
|
|
|