This content has been marked as final. Show 4 replies
Please see https://blogs.oracle.com/shay/entry/10_commandments_for_the_otn_fo
before filling up all the item in master cursor should not go to details,if user clicks in detail he should get a message.
In detail block When-New-Block-Instance check if all fields are filled in if not give user your message and go back to the master block
When-New-Block-instance if master.item1 is null then message('Please fill the header level.............'); go_block('master'); end if;
when pressed enter cursor should go to next item
For Enter Key
in KEY-NEXT-ITEM trigger --do your code next_item;
'do u want to save the changes'.how to control this message
You can save the record you modified before you go to next record to avoid the 'do u want to save the changes'
in when new from instance trigger write
then that will not ask do you want to save the changes.
Not a good idea. It will simply hide all messages and errors.
Modify the relations properties
set Prevent Masterless Operations to YES.