I'm trying to use _eg_WhereParam but with limited success. Is there any documentation for this?
I've got the basics but I need something that explains every option that can be used with it please.
In my current code I have a multi-select prompt which is to be used in a proc sql; where clause such as
%_eg_WhereParam( OptionType, PromptOption, IN, TYPE=S)
however if the user doesn't select any items (the default option) then I want to effectively ignore this where clause.
This would be the same as selecting all items from the list, but asking the user to select all items would be poor UI design and result in poor code. The best option is to be able to say if the selection is blank, ignore this where clause. I've found an example with things like...
IS_EXPLICIT=0, MATCHALL=_ALL_VALUES_, MATCHALL_CLAUSE=1
but with no explanation as to what they do or if other options can be used.
Another option is to check the prompt value myself, but if nothing has been selected I get
WARNING: Apparent symbolic reference PROMPTOPTION not resolved.
So I'm a bit stuck. Thanks.
... View more