I'm trying to pass multiple values to a presentation variable within a filter using the following syntax ("tablename.fieldname" IN (@{pv_PSRig}['@'])) and I've used ("tablename.fieldname" IN (@{pv_PSRig}['@']{'Defaultfield'})). Neither of these worked; I can see the values being passed, but they error out with the following message :
Error |
| View Display Error |
| Odbc driver returned an error (SQLExecDirectW). Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65PState: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <,>: Syntax error [nQSError: 26012] . (HY000) |
Or this message when I open up the report:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle Error code: 1722, message: ORA-01722: invalid number at OCI call OCIStmtFetch. [nQSError: 17012] Bulk fetch failed. (HY000)
Or this message when I use the second version of the presentation variable:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <,>: Syntax error [nQSError: 26012] . (HY000)
SQL Issued: {call NQSGetQueryColumnInfo('SET VARIABLE DISABLE_CACHE_HIT=1; SELECT (''R0072'',''R0073'') FROM "Subject Area"')
Would someone please let me know how to get this working? Thanks!