Home » Developer & Programmer » Forms » Del Key Help For Master Detail Records ?
Del Key Help For Master Detail Records ? [message #87811] Mon, 14 February 2005 06:44 Go to next message
Matloob
Messages: 39
Registered: December 2004
Member
hi there
i m using a master detail form if i place cusror in the master record and press the delete button it must check that is there any child records it displays message "Child Records Found" if no child records it delete the master record.
DO TELL ME HOW TO CHECK THE EXISTING OF DETAIL RECORD IF THER IS ANY MASTER RECORD
THANKS
Re: Del Key Help For Master Detail Records ? [message #87818 is a reply to message #87811] Mon, 14 February 2005 22:11 Go to previous message
Himanshu
Messages: 457
Registered: December 2001
Senior Member
Hi,
For this you need not write any special code.This is a default functionality of Forms.

If you set the relationships between the blocks as per your requirment then it will be handled automatically handled by form.

Set the Delete Record Behaviour of the relation between Master & Detail block as "Non-isolated".

HTH
Regards
Himanshu
Previous Topic: Read Excel File
Next Topic: Migrate forms 5.0 to forms 6i Document
Goto Forum:
  


Current Time: Thu Sep 19 15:09:46 CDT 2024