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

if i click add account button that wil open new account page

put a command button(add account) in pageblock


if i click that button that will  open new account page(create an account page)




Place the following line of code in PageBlock.


<apex:commandButton action="{!URLFOR($Action.Account.New)}" value="New Account"/>


Hope it would help !