Even after you corrected the original question (bad idea in general - answer logic is lost) I can only repeat:
PROMPT(SELECTINPUT,,,"anyText","%TIME_DIM%",,1)
PROMPT(SELECTINPUT,,,"anyText","%CATEGORY_DIM%",,1)
Both will overwrite the same default variable: %SELECTION%
What do you want to achieve?
Once again, please read help:
"The syntax is a follows: PROMPT(SELECTINPUT, [variable], , [label], [dimensions], [default members])"
Where Means Default Value
[variable] The name of the returned variable %SELECTION%
P.S. I can rewrite your statements:
PROMPT(SELECTINPUT,%SELECTION%,,"anyText","%TIME_DIM%",,1)
PROMPT(SELECTINPUT,%SELECTION%,,"anyText","%CATEGORY_DIM%",,1)
Hi Bruno, please close you previous question accepting the correct answer...
About this question:
What a strange idea to put 2 SELECTINPUT,,,???
Both will overwrite the same default variable: %SELECTION%
What do you want to achieve?
Read help:
I've achieved it doing this:
PROMPT(MESSAGE,ANY_MESSAGE,"PROPERTY_01","","","","")
PROMPT(SELECT,%VAR1%,,"ANY_TEXT","DIMENSION",,1)
PROMPT(SELECTINPUT,,,"ANY_TEXT","%TIME_DIM%,%CATEGORY_DIM%,%ENTITY_DIM%",,1)
PROMPT(COMBOBOX,%VARIABLE2%,"ANY_TEXT",0,,{"JAN","FEV","MAR","ABR","MAI","JUN","JUL","AGO","SET","OUT","NOV","DEZ"})
PROMPT(COMBOBOX,%VARIABLE3%,"ANY_TEXT",0,,{"[AT_001] - OPTION1,[AT_002] - OPTION2,[AT_003] - OPTION3"})
PROMPT(TEXT,%VARIABLE4%,Valor,"% ANY_TEXT",)
PROMPT(COMBOBOX,%VARIABLE5%,"ANY_TEXT"},)
INFO(%EQU%,=) INFO(%TAB%,;) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,TAB,%TAB%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,EQU,%EQU%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SUSER,%USER%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPPSET,%APPSET%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPP,%APP%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SELECTION,%SELECTION%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,MEMBERSELECTION,SOURCE%EQU%%VAR1%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,REPLACEPARAM,VARIABLE2%EQU%%VARIABLE2%%TAB%VARIABLE3%EQU%%VARIABLE3%%TAB%VARIABLE4%EQU%%VARIABLE4%%TAB%VARIABLE5%EQU%%VARIABLE5%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,LOGIC_FILELGF)
Therefore, inside the script logic I was able of using variables like: %TIME_SET%,%CATEGORY_SET% (first screen) and $SOURCE$ (second
screen).
Tks for your help
Hi, If you want to get two dimension, you do not need two SELECTINPUT, just with one you could use for get two dimensions, like this.
PROMPT(SELECTINPUT,,,,"%CATEGORY_DIM%,%TIME_DIM%")
Regards
Add comment