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

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -