Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a field that I have tried
if(Len(Trim(ZZCANCEL_STATUS] > 0),1,0) as Can_SW
If(IsNull([ZZCANCEL_STATUS]) ,0,1) as Can_SW
Neither one works any ideas?
Thanks
try like this
if( Len(Trim (ZZCANCEL_STATUS ) ) > 0,1,0) as Can_SW
First one should be this? And second one okay to me
if(Len(Trim([ZZCANCEL_STATUS])) > 0,1,0) as Can_SW
This way try
if( Len( Trim(ZZCANCEL_STATUS]) > 0,1,0) as Can_SW
Or
If( IsNull ( [ZZCANCEL_STATUS]) = -1 ,1,0) as Can_SW
May be this
If(Len(Trim(PurgeChar(ZZCANCEL_STATUS, chr(32) & chr(160)))) > 0, 1, 0) as Can_SW
chr(32) + chr(160) as spaces in string. How to eliminate in one step?
Thanks worked perfectly