Sorry, dude. I looked over you posted code and missed the missing ENDIF also. It is plain as day just above.
_________________________
Home page: http://www.kixhelp.com/hb/