Trying to count the related records I used ```
relationname.getsize
Trying to count the related records I used ```
relationname.getsize
It’s a limitation. If you use getSize() in a loop, it gets updated once you hit 40, so looping is safe. With databaseManager.getFoundSetCount you can do a count(*) with a foundset, that will give you the exact number.