Home » Developer & Programmer » Forms » When press F11 on form, showing message [merged by jd] (11i)
When press F11 on form, showing message [merged by jd] [message #657958] Tue, 29 November 2016 06:06 Go to next message
rahuld
Messages: 6
Registered: November 2016
Junior Member
Hi,

When I open the form and press F11 on that time showing the message 'Do You Want To Save Changes'

I want to remove this.

Please help.

Thanks.
Re: When press F11 on form, showing message [message #657967 is a reply to message #657958] Tue, 29 November 2016 08:01 Go to previous messageGo to next message
joy_division
Messages: 4963
Registered: February 2005
Location: East Coast USA
Senior Member
Then set a trigger for whatever F-11 represents to NULL;
Re: When press F11 on form, showing message [message #657974 is a reply to message #657967] Tue, 29 November 2016 13:10 Go to previous messageGo to next message
Littlefoot
Messages: 21807
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
What is F11 set to? Enter query?

I guess that Forms detected that changes were made in the data block and asks you whether you want to save them before entering query mode (because - if you don't do that - changes will be lost). Therefore, you should know what is going on in your form. If you modified some item(s) (for example, in one of form's triggers such as WHEN-CREATE-RECORD), you should stop doing that.
Re: When press F11 on form, showing message [message #658032 is a reply to message #657974] Thu, 01 December 2016 00:26 Go to previous messageGo to next message
rahuld
Messages: 6
Registered: November 2016
Junior Member
Hi,
Yes, F11 means Enter Query.
Issue has been resolved.
Thanks for help.

I have one other issue like same as above but little bit change.
Issue is, I have one form, on that form I have written on WHEN-NEW-FORM-INSTANCE
GO_BLOCK('BLOCK NAME');
EXECUTE_QUERY(NO_VALIDATE);

At the time of open form data come come but again it showing message 'Do you want to save changes'

Please help.

Thanks.


Re: When press F11 on form, showing message [message #658034 is a reply to message #658032] Thu, 01 December 2016 00:48 Go to previous messageGo to next message
Littlefoot
Messages: 21807
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Is this the only code contained in WNFI trigger? Are there any other triggers that fire upon executing query? What do they do?

Perhaps you should set the breakpoint into WNFI trigger and run form in debug mode so that you could trace its execution and find what causes your problems. (Most probably, it is you).
Re: When press F11 on form, showing message [message #658046 is a reply to message #658034] Thu, 01 December 2016 06:39 Go to previous messageGo to next message
rahuld
Messages: 6
Registered: November 2016
Junior Member
Only below code is present in WNFI

GO_BLOCK('BLOCK NAME');
EXECUTE_QUERY(NO_VALIDATE);
Re: When press F11 on form, showing message [message #658048 is a reply to message #658046] Thu, 01 December 2016 07:23 Go to previous messageGo to next message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
So you need to check if any other triggers fire. when-new-record_instance and when-new-block-instance are obvious possibilities.
Re: When press F11 on form, showing message [message #658049 is a reply to message #658048] Thu, 01 December 2016 08:43 Go to previous message
joy_division
Messages: 4963
Registered: February 2005
Location: East Coast USA
Senior Member
pre-block too.
Previous Topic: Mobility application
Next Topic: FRM-15004: Error while parsing join condition
Goto Forum:
  


Current Time: Thu Apr 18 22:54:45 CDT 2024