>Recently encountered a strange VFP bug that I thought I would make aware to everyone. This bug occurs when you try to use a previously indexed table WITHOUT the CDX and are using your own error handler with the ON ERROR command. I may be missing something here but I don't think so...
>
>Ok here's how to replicate the bug!!
>
> 1. Copy previously created free table that has been indexed to a temp directory WITHOUT the CDX.
> 2. In the command window type: SET SAFETY OFF
> 3. USE the table (e.g. USE C:\TEST\TABLE.DBF) Notice NO ERROR occurs!
> 4. Delete the table.
> 5. Now type ON ERROR DO ERRHAND.PRG (We don't have a prg but even if we did the results would be the same.)
> 6. Now RECOPY the free table again without the CDX.
> 7. USE the table again! Surprise! The ON ERROR kicks in!
> 8. Say something unkind about Microsoft.
>
>If anyone knows a reason why this is happening or a way around it please let me know.
>
>Thanks
What error are you getting?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer