I have a presentation variable in a prompt. The variable is a select statement which is picking up a field that is concatenated so that the user has a clue of what they are picking up. What I'm trying to do is intercept the presentation variable so i can do a substring on it and only grab the first two characters. Can i do this ? In my filter Ive tried doing this
"xxx"."xxxx Code Level 1" IN ( LEFT(@{ACCT_TYPE}['@'],2){''} )
to grab the first two characters of the string, but yet it keeps failing. If I remove the "left" function, everything works but I get the full string.
Is there any way to do this?
I essentially just want to grab the first two characters of the presentation variable.