Hello,
I am trying to resolve a challenge with allowing users to select multiple parameters from a database. The challenge is that the application from where the report is launched from does not allow/support multiple parameter selections and the data is constructed in a way that I get more results than I am trying to extract.
CRV = 9
Oracle Db
************start of data*************
the field name in the database is "DocType" and the values of the data within the database are:
DocType
ccal
ccal_form
cval
cgen
cgen_form
gen
************end of data*************
I have a parameter to allow the user to enter multiple values separated by a comma. Here is the formula portion that relates to the selection of the DocType:
If lowercase({?p_docType}) = "all" then
true
else
lowercase({Command.DocType}) in lowercase({?p_docType})
The problem is that if a user enters "cgen" the results returned also include "gen" or any substring of the value they enter.
Any ideas to limit the results returned to the values entered by the user are appreciated.
Thanks in advance.
I am trying to resolve a challenge with allowing users to select multiple parameters from a database. The challenge is that the application from where the report is launched from does not allow/support multiple parameter selections and the data is constructed in a way that I get more results than I am trying to extract.
CRV = 9
Oracle Db
************start of data*************
the field name in the database is "DocType" and the values of the data within the database are:
DocType
ccal
ccal_form
cval
cgen
cgen_form
gen
************end of data*************
I have a parameter to allow the user to enter multiple values separated by a comma. Here is the formula portion that relates to the selection of the DocType:
If lowercase({?p_docType}) = "all" then
true
else
lowercase({Command.DocType}) in lowercase({?p_docType})
The problem is that if a user enters "cgen" the results returned also include "gen" or any substring of the value they enter.
Any ideas to limit the results returned to the values entered by the user are appreciated.
Thanks in advance.