>IF (pending = "I" .AND. actcod = SPACE(9))
If You use .OR. instead of .AND. the condition will be TRUE
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.