Home » Developer & Programmer » Forms » Header/detail blocks
Header/detail blocks [message #588556] Wed, 26 June 2013 09:02 Go to next message
somegirl
Messages: 19
Registered: March 2013
Junior Member
Hello I need help please. I need to populate records from a child table when the user clicks on a record in the header table . This is fairly easy . The difficulty is that the user needs to be able to edit a field from the child table and there could be 1 to many records. When the user makes a change , I don't want the 'do you want to save changes' error to appear ! Any ideas how to do this please .


As shows in the picture below , the user will only be able to update field 'amt'.When the user clicks on 'declaration_no' from the header table,other records will be displayed ..


http://i42.tinypic.com/fngs3n.jpg



Thanks for any help.
Re: Header/detail blocks [message #588560 is a reply to message #588556] Wed, 26 June 2013 09:28 Go to previous messageGo to next message
cookiemonster
Messages: 10914
Registered: September 2008
Location: Rainy Manchester
Senior Member
At what point exactly is the message coming up?
Re: Header/detail blocks [message #588563 is a reply to message #588560] Wed, 26 June 2013 09:40 Go to previous messageGo to next message
somegirl
Messages: 19
Registered: March 2013
Junior Member
It appears when I change record in the detail block.
Re: Header/detail blocks [message #588569 is a reply to message #588563] Wed, 26 June 2013 10:11 Go to previous messageGo to next message
cookiemonster
Messages: 10914
Registered: September 2008
Location: Rainy Manchester
Senior Member
do you have a when-new-record-instance on the detail block?
Re: Header/detail blocks [message #588578 is a reply to message #588569] Wed, 26 June 2013 11:41 Go to previous messageGo to next message
somegirl
Messages: 19
Registered: March 2013
Junior Member
Nope, no when-new-record-instance in the detail block .
Re: Header/detail blocks [message #588591 is a reply to message #588578] Wed, 26 June 2013 14:43 Go to previous message
Littlefoot
Messages: 19510
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Which Forms version do you use? If it is 10g, run the form in debug mode. It'll lead you through the form, step by step, and you'll (hopefully) find the culprit.
Previous Topic: clearing the text item
Next Topic: insert record-triggers
Goto Forum:
  


Current Time: Wed Aug 27 20:47:25 CDT 2014

Total time taken to generate the page: 0.09271 seconds