getOccurrenceCount()
Returns the number of occurrences that are present in the entity.
EntityObject.getOccurrenceCount()
Arguments
None.
Return Values
Return—number of occurrences in this entity.
Description
The EntityObject is a uniface.Entity object returned by the getEntity function of the uniface.Instance object.
var vInstance = uniface.getInstance("MUSICLIST"); if (vInstance != null) { var vEntity = vInstance.getEntity("ITEMS.MUSICSHOP"); if (vEntity != null) { alert("There are " + vEntity.getOccurrenceCount() + " items."); } }