Hi
unfortunately there is no option which columns should be taken for PRPT handling :-(
... at least I am not aware of any...
You can use a little script to process the VARA and compare it with your Promptset value:
:SET &HND# = PREP_PROCESS_VAR(VARA.MARCEL)
:PROCESS &HND#
: SET &KEY# = GET_PROCESS_LINE(&HND#,1)
: SET &VAL1# = GET_PROCESS_LINE(&HND#,2)
: IF &VAL1# = &COMBOBOX1#
: SET &MYVALUE# = &KEY#
: ENDIF
:ENDPROCESS
:CLOSE_PROCESS &HND#
!
:PRINT "KEY=&KEY# VAL1= &VAL1# MYVALUE= &MYVALUE#"
where &COMBOBOX1# is your promptset variable.
cheers Wolfgang
------------------------------
I know I do really know it!
------------------------------
Original Message:
Sent: 07-02-2019 09:33 AM
From: Marcel de Assis
Subject: Combobox usig Key value instead of Text
Hi guys,
I'd like to use combobox just like html select/option. I have a VARA that looks like this:
So I'd like to display Service and when it's selected in my Promptset the value of my variable should be 1. How can I achieve this?