How to Clear Record? [message #543102] |
Mon, 13 February 2012 02:32 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
nandhiniprema
Messages: 10 Registered: February 2012 Location: Chennai
|
Junior Member |
|
|
In a master and detail relation ship block..When a cursor is placed in the details and enter some thing and giving back space..once value is cleared a empty record is saved in the database with the header values...but in details custmer didnt enter anything...how to clear the detail record in pre insert or when validation...
|
|
|
|
|
|
Re: How to Clear Record? [message #543123 is a reply to message #543116] |
Mon, 13 February 2012 03:09 ![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) |
nandhiniprema
Messages: 10 Registered: February 2012 Location: Chennai
|
Junior Member |
|
|
This is master screen here there is no probs if we save empty record..But in transaction for that particular master code ,detail code is checking and 'No_data_found' issue is raising.So in master we need to restrict by delete record or clear record when user attempt to keep cursor and enter valuses later if back space is give..
|
|
|
|
Re: How to Clear Record? [message #543333 is a reply to message #543323] |
Tue, 14 February 2012 03:27 ![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 |
|
|
You do realize that key-commit can be bypassed?
If you make changes and then exit the form then you will be asked if you want to save the changes. If you click yes then the changes will be saved to the DB without key-commit being fired.
You should never do any validation type processing in key-commit. In fact I have never yet found a use for that trigger.
|
|
|