I have a data source that has geo-coordinates in each record.
I want to make a request to an API to generate a map out of these geo-coordinates using their static map feature.
To do this I need to aggregate multiple fields in a record and then aggregate these values (from each record) together to form a URL that I can use to populate an image component.
I've been able to use the aggregated functions like sum and count but as soon as I try to use Join(", ", Fields.x) I get the error
An error has occurred while processing TextBox 'textBox53':Type mismatch in function arguments. Cannot find an overload of the function Join() that accepts arguments of type (String, Double).
If I use Join(", ", CSTR(Fields.x)) I get the error
An error has occurred while processing TextBox 'textBox53':Type mismatch in function arguments. Cannot find an overload of the function Join() that accepts arguments of type (String, String).
But if I use Count(Fields.x)
I get the value 9 which is correct.
Why can I use some aggregated functions on a field but not others?