Hello,
I use the function getVariableValueText to display the selected value of a query variable in a design studio report. I solved this like this:
TEXT_1.setText(DS_1.getVariableValueText("VAR_CUSTOMER"));
The result is, that the text of TEXT_1 is: "12345678 Test Customer".
That means the method getVariableValueText delivers key and text of the query variable "VAR_CUSTOMER".
But I only want the text "Test Customer" without the key. Is there an easy way to fulfill this requirement?
Thank you very much!
Jens