Hi, I have an issue with the search() function.
I want to use the search function based of the culumn of a CDS entity.
For example I want to have all the users ("User" entity) witch are based in a specific country using a (custom) field named "Based_on_Country" witch is related to the country "entity"
So I made this function:
Search(User;"England";'Based_on_Country'.Name)
There is an error telling me that search() function is waiting for a text value.
In CDS the culumn Name of the Country entity is a text. I tried to use the text() function with Text(Based_on_Country'.Name) but I have another error on the text() function.
I don't know what to do...
Can someone help me ?
Kind regards