function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Custom Button for Link to related list

Hello all,


   I have created a custom button for a link that is a related list, however I have records from the related list on 2 pages. When I am on the 2nd page of the related list and click into a record and I hit my button it takes me back to the first page of the related list instead of back to the 2nd page. Is there anyway I can write my formula so it will take me back to either the 1st or 2nd page? Here is my button link{!Trade_Calender__c.AccountId__c}


The '00N40000001n7Rf&id' is my page reference but it is only for the 1st page of the related list.


i hope this make sense, any ideas? Any help would be greatly appreciated, thanks.