Sorry, but if it doesn't fire with VFP's error routine it should not fire with mine. That makes SET SAFETY OFF inconsistent. I can't agree it's a NABAF (Not A Bug, A Feature!)
Just my two cents...
>Kevin,
>
>This si not a bug, but rather is by design. VFP expects that if you have an error handler you want to handle the situation where a cdx cannot be found. So it calls your error handler.
>
>In your error handler you can trap error # 1707 Structural CDX file not found.