>Thanks Mike. This is what I was looking for. Although the doc doesn't show it working this way. Must be one of those undocumented features<g>.
It's documented, look under the ERROR command topic in the VFP help Index tab. The confusion may come in because I used what
looks to be the exact same function, but it's not. It would have been more clear had I not used parentheses, like one would with the ERROR() function.
Mike Stewart