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
AhuiAhui 

How to make an auto number in VisualForce?

Maybe i make autu number in VisualForce?
Thanks
colorBoycolorBoy
I think you can write some code in you controller class.


...
Select no__c from youObject__c f order by f.no__c desc limit 1
...

See cookbook p258.