sql server - IF function in Crystal Report -


is possible have substring/left , if function in crystal report? mean want first 2 characters of name_column if substring of name_column 'xo' new field in formula 1000 or if 'xd' 2000.. appreciated.. thank before

nb: use vb.net , sqlserver

// {@foobar} select left({table.name_column},2) case "xo": 1000 case "xd": 2000 default : -1 

Comments

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -