John
In your ON ERROR routine just test for the error number with function ERROR()
HTH
>Okay, you'd think I would have hit this one by now, but I haven't... and it can't find it in the archives:
>
>Is there a way to trap for one specific error (1542, 'Base Tables changed' in this case), and if it is NOT this error allow standard VFP error handling to continue, otherwise run a routine (DBC rebuild routine in my case)?
>
>Thanks in advance. I know this one is probably really easy.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.