Quote:
Originally Posted by ******
That method will almost always give an incorrect value! If you create 5, destroy the first 2, then create a new one there's nothing stopping the system reusing the first ID meaning that looping to it will only return "1".
|
In that case you have to check from id 1 to 1000.