You need to sign in to do that
Don't have an account?
Gowkanapalli Janardhanreddy
How to disable new button when i get 20 records in table
pcon
To do this, you would have to override the standard layout with a custom visualforce page. Then inside the controller for that selectively show / hide the button based on the number of records. Another (more fragile) option would be to do a simple visualforce page that include that default layout and some javascript. Then have the javascript disable the button based on the record count returned to it from the controller.