Query mode not working at once the form is opened [message #560063] |
Tue, 10 July 2012 06:02 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/27359449dccaa5753fc89e8d1e936c55?s=64&d=mm&r=g) |
rponmani
Messages: 13 Registered: April 2012 Location: Chennai
|
Junior Member |
|
|
At once when I open the form when I press F11 it is not entering query mode. But if I type something in the text box placed in the form then I press F11 means it is asking "Do you want save the changes you have made?" if I press yes or no, no matter it is going for query mode. How to go to query mode without typing something in it?
|
|
|
|
|
|
Re: Query mode not working at once the form is opened [message #560073 is a reply to message #560068] |
Tue, 10 July 2012 06:48 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
Don't use key-commit for validation, it can be bypaseed. When forms pops up the "Do you want save the changes you have made?" dialogue box, if you click on Yes forms will save the records without firing key-commit. Use validate triggers for validation.
As for your original problem - is the first item a database item? Is it in a database block?
|
|
|
|
|
|
|
|
Re: Query mode not working at once the form is opened [message #560142 is a reply to message #560090] |
Tue, 10 July 2012 15:40 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
joy_division
Messages: 4963 Registered: February 2005 Location: East Coast USA
|
Senior Member |
|
|
rponmani wrote on Tue, 10 July 2012 09:10I meant, When I open the form and types something,after that if I press F11 query mode works.But when I open the form and I press F11 means,the query mode is not working before typing something in the textbox.
This sounds backwards to me. F11 is entry query mode and Ctrl-F11 is execute query. If you go to field and type, then hit F11, I would expect a "do you want to save your changes" message.
|
|
|
|
|
Re: Query mode not working at once the form is opened [message #566005 is a reply to message #565993] |
Mon, 10 September 2012 06:58 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
It's taken you two months to answer that question?
Anyway, required is probably the problem. Forms is probably forcing you to enter a value in that first field before you do anything else.
Try changing the form level Defer Required Enforcement property.
|
|
|