I appreciate the help with this.

If I comment out the ENDIF suggested, the compiler returns an error, "IF without a matching ENDIF" . There appears to be no way to make the first inner IF multi-statement. Is the ELSE broke in this situation?

Sorry about the non-encapsulated code segment.

Thanks-Dan