I have a report with parameters where I want to select specific Status states. I want to use a wildcard entry '*' in the parameter field, when I want to return all the status e.g. Assigned, Resolved, Pending..etc..
I used the following statement in the Select Expert Window
Can anyone please tell me how to do this?
If {?Status} = 'ALL'
Then {HPD_Search_Association_CIJoin.Status} like '*'
Else {HPD_Search_Association_CIJoin.Status} = {?Status}
However I get the following error message: -
Database connector Error: 'S0002:AR System ODBC Rdrive[Data types are not appropriate for relational operation. Databae vendor code; 9055..
I'm assuming SQL SErver does not like my like statement, can someone help me modify the select statement..
I used the following statement in the Select Expert Window
Can anyone please tell me how to do this?
If {?Status} = 'ALL'
Then {HPD_Search_Association_CIJoin.Status} like '*'
Else {HPD_Search_Association_CIJoin.Status} = {?Status}
However I get the following error message: -
Database connector Error: 'S0002:AR System ODBC Rdrive[Data types are not appropriate for relational operation. Databae vendor code; 9055..
I'm assuming SQL SErver does not like my like statement, can someone help me modify the select statement..