Home » Developer & Programmer » Forms » Master Details - Final commit
Master Details - Final commit [message #229496] Mon, 09 April 2007 00:28 Go to next message
ShaShalini
Messages: 59
Registered: January 2007
Member
Hi

I have a master detail block. I populate the blocks by executing query. I go to the detail block and do some changes and come back to the first block and navigate to the next record to do another change. I get the message 'Do you want to save changes '.

I don't want to get the message. I want the user to do all changes and then do a final commit ..

Can anyone tell me how this can be done ..

Thanks
Re: Master Details - Final commit [message #230019 is a reply to message #229496] Tue, 10 April 2007 10:27 Go to previous message
tlananthu
Messages: 18
Registered: April 2007
Location: India
Junior Member

Issue a POST in the WHEN_NEW_RECORD_INSTANCE trigger of the master block so that the changes are temporarily applied in the database. Only if the user hits the save it will be committed. If the user leaves the form it will again ask for "Do you want to save the changes"

Regards
Anantha Narayanan
http://askanantha.googlepages.com
Previous Topic: check insert data from form and Insert only one record (merged)
Next Topic: URGENT: Auto mail a user on changing a field value
Goto Forum:
  


Current Time: Sat Feb 08 22:11:53 CST 2025