public int Dcount (int aField, int aValue, int aSubValue)

This method counts one of the following:

  • The number of fields in the array, equivalent to Count ( ) +1
  • The number of values at a specified field position in the array, equivalent to Count (aField) +1
  • The number of subvalues in a specified field position/value position in the array, equivalent to Count (aFieldValue, aValue) +1
  • The number text values in a specified field position/value position/subvalue position of the array, equivalent to Count ( ) +1

int aField is the field whose values, subvalues, or text values are to be counted.

int aValue is the value whose subvalues or text values are to be counted.

int aSubValue is the subvalue whose text values are to be counted.

It corresponds to the UniObjects Count method and the BASIC DCOUNT function.