>>> ON ERROR DO ErrorLog WITH ERROR(), MESSAGE(), PROGRAM(), LINENO()
>
>If you have an error condition in errorlog and errorlog does not reset on error, effectively you have an infinte loop.
That's not the way the error handler works. If you have error in the error handler code the internal VFP error handler will be called and VFP error dialog displayed.
--sb--