on 03-30-2009 8:40 PM
unable to write more than 10 case statements in an object in designer
XI 3.0 and XI 3.1
Please let me know, any known issues.
Hi,
yes this is the limitation you cant write more that 10 case statments but you can reduce the number of time you use the case in your object.
For ex:
If you are writing few conditions on one field then you can add the login in one case only.
case when SAL between 100 and 1000 then 'lowsal'
when SAL between 1000 and 2000 then 'medsal'
when sal between 2000 and 3000 then highsal
else
case when ...then ....
else
end
end
by following the above ex you can solve your problem.
But if you are writing case statement based on dofferent columns then write 10 case statements and remaining conditions you can add at the report level.
using if else condition.
Hope this will help you....
Cheers,
Ravichandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Are you getting this error only when you use 11th case statement or if you modify some of the characters for the SQL in the object definition from lower case to upper case (or vice-versa),
For the later one you can follow these steps:
- Test the connection in your universe and click Details.
- From Details, copy and run the path for the PRM file used by your connection which will open the relevant PRM file in Notepad.
- Modify the following parameter (or add to the PRM file if it does not exist) as follows:
<Parameter Name="CASE_SENSITIVE">N</Parameter>
- Save the PRM file.
- Close and relaunch Designer.
Hope this helps!!!
Regards
Sourashree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.