You need to sign in to do that
Don't have an account?

after saving a child record, return to parent record, not child record
Hi, I know the standard "save" button will return to the new child record, after users click the "new" button on the related list to create a child record.
Eg, when users click "New Opportunity" on opportunity related list on an account record, and click "save" after entering data, the newly created opportunity will be displayed.
Now my users want in some situation, after saving, it should return to the parent record. How difficult is it to do this? Any sample code?
Thanks.
You can overwrite spectific standard buttons and change the pageRef argument.
http://community.salesforce.com/sforce/board/message?board.id=general_development&message.id=37207
http://www.forcetree.com/2009/07/overriding-standard-buttons-with.html
or just google it like I did.