Donald, obviously some errors are trapped by VFP directly and are not passed to the applications error handler. This is one of those error conditions. I do not know how you can trap for it unless you figure out what in the DBF and CDX file headers VFP checks to determine an error condition and then read those bits in yourself first using LLFF. Bit of a kludge me thinks :)
>Hi Jos
>
>Yes, I have the standard SET TO in the init of myobject; including SET NOTIFY OFF.
>
>Here is some more information:
>
>From the Command prompt:
> ON ERROR lnErr = ERROR()
> USE c:\myfolder\myproblemtable
>
>This produces the VFP Message "Table Does Not Match Index...etc.
>BUT look at this:
> ? lnErr returns 0
>
>Anybody know what gives here? This result is repeatable with the specific table. ALSO, I can browse the table.
>
>-Don Lowrey
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.