count function in Formula Field

count function in Formula Field

Hi,

i would consider the following a bug: When I create a formula field in a form (e.g. Test_Form) and give it the following value:

count(Test_Form[Single_Line_1=="Hallo"])


i get the following error: "No rows found for the table PersonalityConfiguration in this DataObject" which does not really reveal its meaning to me.

When I create a function:

int myFunc() { return count(Test_Form[Single_Line_1=="Hallo"]) }


and give my formula the value:
myFunc()

then it works just fine.

Having to declare a Function first to get a count display is a little bit annoying.

Greetings, Mathias