+ Start a Discussion
anu123anu123 

placing prev and next buttons in account detail page with out using custom buttons and links

Hi all,

      i need to display list of accounts when we click on particular account it displays detailed page with prev and next buttons. (suppose 10 accounts are there. presently i m in 5 th record detail page. when we click on prev it displays 4th account detail page.when we click on next it displays 6th record detail page.any one can u please send me the sample code.

 thanks in advance.

anu......

Rahul SharmaRahul Sharma

- An account can have multiple child. so, you can't control the redirection on next button click (Means you won't be able to say, next button click will redirect to which account.)

- prev button logic seems to be simple.

 

You will need to perform onclick Javascript on button click.

anu123anu123

hi,

   Thank u for ur reply.

          no need to place the parent and child relationships.previous means before that particular account. next means after that particular account.please send me the sample codeprevious and next are just command buttons.

 

thanks in advance.

anu........

Rahul SharmaRahul Sharma

How are you Linking/Recognising the account as 1st, 2nd, 3rd, etc. ?

anu123anu123

hi,

    i have a list of accounts. based on that previous and next buttons are placed using command buttons.

 

 

thanks in advance....

anu...