'Structural .CDX file is not found' is error 1707.
For this error, if there isn't a error handler (on error), this is the normal behavior.
Why isn't the .cdx for id.dbf available?
>I have a routine that only errors when error my error handler is active. The line of code is an append statement:
>
>SELECT update
>APPEND FROM id.dbf && this line errors
>
>When there is no error handler there is no problem. However when I have an error handler active:
>
>ON ERROR DO errorhan with ERROR(),MESSAGE(),MESSAGE(1),SYS(16),LINENO()
>
>When tracing the code, error() returns 0, but the MESSAGE() returns 'structual CDX not found'. How can error() be 0, and trigger the error handler? How come it wouldn't fire the default VFP error routine when I don't have my error handler active? This is driving me a little nuts. You help is appreciated.
>
>Marcus.
Just an opinion... Not a fact.