|
|
Re: Have Dept and Emp block on form need to delete record on master [message #213492 is a reply to message #213061] |
Thu, 11 January 2007 00:30   |
 |
azamkhan
Messages: 557 Registered: August 2005
|
Senior Member |
|
|
Dear David,
First Thanks for your reply.
Dear David I have the same solution that you have suggested. But this will involve navigation. I told in my previous post that I have more than one master and detail blocks. I m also doing some validation checks on POST RECORD trigger. This clear block logic will involve navigation from block to block depending on the number of child blocks. And David I think form start to do funny thinks if you do too much progarmatic navigations. Well may be I m wrong but this what I have experienced.
And the other suggestion that you have told me about setting the message_level = 25 that I already tried but this is not working that alert is any ways displaying by the form.
You also asked me what I will do to the child blocks on deletion of master. Well David I m deleting the childs as master is deleted that is done automatically by the form b/c I have used cacase deletion option. As master delete's I also archived the records of master and it's child.
Again thanks for your reply. Takecare. Bye
Regards,
Azam Khan
[Updated on: Thu, 11 January 2007 00:32] Report message to a moderator
|
|
|
|
|
|
Re: Have Dept and Emp block on form need to delete record on master [message #214388 is a reply to message #213061] |
Tue, 16 January 2007 03:44  |
jawwikhan
Messages: 6 Registered: January 2007 Location: Pakistan
|
Junior Member |
|
|
hi,
see clear_all_master_details program unit and comment out the portion of the code which checks the block for changed or NEW status and call for the dialog box .
example
IF curblk IS NOT NULL THEN
Go_Block(curblk);
Check_Package_Failure;
Clear_Block(ASK_COMMIT); -- comment out this portion
Hoping this will help u out
Thanks
|
|
|