Home » Developer & Programmer » Forms » Alert Message (Forms 10g)
Alert Message [message #427857] Mon, 26 October 2009 04:18 Go to next message
monikabhakuni
Messages: 110
Registered: September 2008
Location: India
Senior Member
Hi
Every body I have alert message displayed
Saying
� Do you want to save the change that you have made � when I make an Enquirer in the form and try to exit the form , I did not make any change in the record so, I do not want this message to be display if I did not make any change in the record

What is the FRM message number that I have to trap? And how to do that , with example please .

Best regards,
Monika
Re: Alert Message [message #427867 is a reply to message #427857] Mon, 26 October 2009 04:45 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
You have changed something. Forms doesn't make that one up.
At some point a database item is getting set (possibly to the same value it already is) and this is changing the record status. Check your POST-QUERY trigger.
Re: Alert Message [message #427872 is a reply to message #427867] Mon, 26 October 2009 04:54 Go to previous messageGo to next message
monikabhakuni
Messages: 110
Registered: September 2008
Location: India
Senior Member
Hi,
I have givent his in post query trigger.
set_record_property(:system.trigger_record,:system.trigger_block, STATUS,QUERY_STATUS);

But still the issue is there. Do know how to reslove it.

Best Regards,
Monika
Re: Alert Message [message #427881 is a reply to message #427872] Mon, 26 October 2009 05:17 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
monikabhakuni wrote on Mon, 26 October 2009 09:54
Hi,
I have givent his in post query trigger.
set_record_property(:system.trigger_record,:system.trigger_block, STATUS,QUERY_STATUS);

But still the issue is there. Do know how to reslove it.

Best Regards,
Monika


I find that never really works.
Are you setting the values of any non-database items in the post-query trigger?
And if so are any of those items enterable on screen (non-display items).

If so try doing:
set_item_property(<item>, item_is_valid, property_true);
for those items.
Re: Alert Message [message #427894 is a reply to message #427881] Mon, 26 October 2009 05:47 Go to previous messageGo to next message
monikabhakuni
Messages: 110
Registered: September 2008
Location: India
Senior Member
Hi,

I am nt setting any value for non-database item in post-query trigger.
Yeah i have some items that i am not displaying in the front end.
I have set thr canvas as NULL.
So is it creating a problem.
How to reslove it.

Best Regards,
Monika
Re: Alert Message [message #427897 is a reply to message #427894] Mon, 26 October 2009 05:49 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
monikabhakuni wrote on Mon, 26 October 2009 10:47
Hi,

I am nt setting any value for non-database item in post-query trigger.
Yeah i have some items that i am not displaying in the front end.
I have set thr canvas as NULL.
So is it creating a problem.
How to reslove it.

Best Regards,
Monika


What problem?
Re: Alert Message [message #427904 is a reply to message #427897] Mon, 26 October 2009 06:11 Go to previous messageGo to next message
monikabhakuni
Messages: 110
Registered: September 2008
Location: India
Senior Member
Hi,

I have created a a canvas i.e. i have customized an existing apps form.
So when i m opening that canvas and closing it without making changes.
Then also it is asking me. "Do you want to save the change that you have made?".
So i dont want that message to cm when i am not making any changes.
Do you have any idea how to do that.

Thanks in Advance.
Monika
Re: Alert Message [message #427907 is a reply to message #427857] Mon, 26 October 2009 06:21 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
Like I said before something is changing.
This has got nothing to do with canvas properties.

You're going to have to debug this the hard way. Put messages in all relevant triggers to display :system.record_status, work out at what point it gets changed from QUERY to CHANGED.
Re: Alert Message [message #427923 is a reply to message #427907] Mon, 26 October 2009 06:57 Go to previous message
monikabhakuni
Messages: 110
Registered: September 2008
Location: India
Senior Member
Hi,

Ok thanks a lot i will try with that.

Best Regards,
Monika
Previous Topic: Dynamic LOV creation
Next Topic: scanner reading bar code how??
Goto Forum:
  


Current Time: Fri Sep 20 06:56:15 CDT 2024