Coded Value - Report Writer
I have a column in one of my rest points that is called "Community". This column has a domain of coded values.
In the Report Writer, for the data field, I need to convert this coded value to it's related text.
(Community.ToString().Trim())
The above line does not work.
How do I extract the text value of a coded domain?
Walter
-
Read some additional forums responses and have enabled the enhancement proxy and have selected "Resolve Coded Domains"
Community.Name()
Although I do get the correct values displaying in my report, I need to add some text before and after the field name.
Any idea how this is done?
Walter
0 -
According to documentation I've read, in the Report Writer for a text box bound to a datafield, and in this case it's a domain value ie. COMMUNITY.Name(), you should be able to add text values before and after the associated field. So, the following examples should work:
= "I live here" + COMMUNITY.Name()
or
= COMMUNITY.Name() + " is where I live"
But for some apparent reason, the field "COMMUNITY.Name()" does not allow it be treated as such and causes errors in the report.
I'm trying to string text and this field together to be displayed in the report in one line.
The domain name has been exposed by applying the enhancement proxy and checking off the "resolve coded domains"
Any ideas?
Walter
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer