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
SAHG-SFDCSAHG-SFDC 

Visualforce saves the data but returns to previous on page refresh

HI ,

I have a VF page which saves the data on save , but when I refresh the page it displays previosuly stored data

My VF page is inline page on Oppty standard page , using standard {!save} functionality , If I use custom save then I get an error
" System.LimitException: Too many DML statements: 1 "

Any help will be appreciated
Alain CabonAlain Cabon
Can you show us your code (VF page) ?