contains not only
I have a field with value '----' or '--+'. I want to check the values of the field with:
IF field cn '+-'. *go on with further process. ENDIF.
what I want to have is that only values are consider which have not only '+-' as field value.
the problem is that he ignore the cn expression, so if my field has a value of '-' it jumps in the if expression?
Any idea how to solve this problem?
thanks a much.
You have declared your fieds as character with a length greater than 4 (or 1) and so it is looking at the trailing spaces. Declare your fields as string.