DCount()

DCount zählt die Anzahl Teilnehmer, die einen Filter (erster Parameter) erfüllen:

DCount("[ImZiel]") - gibt die Anzahl Finisher zurück
DCount("T101>0 AND [Wettbewerb]=1") - returns the number of participants registered in Contest 1, who have a result in Result 101

Wenn Ihr Filter Text beinhaltet, müssen Sie diesen mit Anführungszeichen kennzeichnen. Beispiele:

DCount("[Geschlecht]=""f""") - Gibt die Anzahl weiblicher Teilnehmer zurück
DCount("[Verein]="""  & [Verein] & """") - Gibt die Anzahl Teilnehmer des gleichen Vereins wie der gewählte Teilnehmer zurück.

Beachten Sie, dass die Aggregationsfunktionen nicht sehr schnell sind und sparsam genutzt werden sollten.

DCount(;true)

DCount(;true) counts both the number of participants in an eventfile AND participants that are in the process of a registration currently, fulfilling a fiter

DCount("[Gender]="""  & [Gender] & """";true) 

Returns the number of participants already registered and those who are in the process of the registration who are of the same gender as the considered participant. 

Example:

  • 5 female participants already existing in the eventfile
  • 4 female participants not yet registered, but in the process of registering
  • ==> 9 participants in total.