>pending = 'I'
>actcod = '123456789'
>IF (pending = "I" .AND. actcod = SPACE(9))
> SELECT records.......
>ELSE
> SKIP
>ENDIF
>
>the condition is true but the else part execute. any idea....
actcod does not equal SPACE(9). actcod = '123456789'. Therefore, IF fails - ELSE executes.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.