... if not empty( lcError ) on error &lcError else on error endifI am wondering about this last part. Wouldn't on error &lcError alone do the work - without the IF? If lcError happens to be empty (the empty string, I suppose), then the statement should evaluate to on error.