Skip to Content
0
Former Member
Jul 21, 2016 at 01:51 PM

Hierarchy variable Key and Text in Textbox

199 Views

Hallo colleagues,

By one customer I get the problem to get Key and Text of one variable which is set in prompt (selection) window (jpg: selection). This variable is planing element 93400 Energy.

After I do a selection, I get only the key 93400 in textbox, but not the text "Energy".

Script in DS_1 in field "OnResultSet":

TEXT_1.setText(DS_1.getVariableValueText("ZPV_ZPLANEL_001"));

The query definition (filter part) is in screen "QD_Filter"

In Screen "Result DS" is the result after I click on Ok in selection window of Design Studio.

How can I get key and text of that variable into textbox?

Thank you.

Attachments

Result in DS.JPG (10.5 kB)
QD_Filter.JPG (54.6 kB)
Selection.JPG (45.2 kB)