when i press the save button in a master detail form [message #169372] |
Wed, 26 April 2006 08:39 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
haitham
Messages: 60 Registered: February 2006
|
Member |
|
|
i made a master detail data block
at the master block i have to insert a new record and at the detail block i have to update the existing detailed records,
when i press the save button only the master record is inserted and the detailed records are not updated..so why this happens
and what i have to do...
thanks for help
|
|
|
|
|
Re: when i press the save button in a master detail form [message #169698 is a reply to message #169426] |
Fri, 28 April 2006 04:56 ![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) |
haitham
Messages: 60 Registered: February 2006
|
Member |
|
|
im sorry ... i didnt describe the topic well...
i have a parent table (purchase request) and two child tables (item purchase request) and (order purchase request).
i made two master detail forms , the first one contains the purchase request as the master data block and the item purchase request as the detail data block such that i insert anew record in the master block and insert coressponding new records(the requested quantaties) in the detail block ,
the second form contains the order purchase request as the master data block and the item purchase request as the detail data block such that i insert a new record in the master block (one of the field of the new record is a fk to the purchase request table)then the coressponding detail records are displayed and i have to update them by adding the quantites recevied ....
thats all ,so when i press the save button i want to insert the new record in the master block and update the records in the detail block ..................
i wish it became clear
[Updated on: Fri, 28 April 2006 06:26] Report message to a moderator
|
|
|
Re: when i press the save button in a master detail form [message #169944 is a reply to message #169698] |
Sun, 30 April 2006 23:04 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/67467.jpg) |
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Okay ... you are asking for the standard master detail relationship form. Please search this forum for 'master detail'. There are quite a few threads that contain the answer for which you are looking. Also have a look at the Oracle Forms website. They have a master-detail in the 'demos'.
David
|
|
|