+ 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.