Question
AreteansTech
AU
Last activity: 11 Jun 2017 6:16 EDT
SQL Function Alias - Use function and pass param value
Greetings!
I'm trying to implement a SQL function alias that calls a java function. I have used this function alias in a report definition. And I'm passing a string parameter to it. In the function alias I need to evaluate this param value (by passing this to the function). I'm using the following condition in Java to do so;
<%
if (ruleset_library.FunctionName(tools.getStepPage().getString(".pyParameters(1).pyParametersParamValue")) == "Something") {
%>
The ".pyParameters(1).pyParametersParamValue" contains the column name, and not its actual value.
Is there a way to achieve this? Any help is appreciated.
Thanks in advance.
Regards,
Lahiru.
***Moderator Edit: Vidyaranjan | Updated Categories***