All you need is a:
Do case
Case Myerror = nnnn
section in your errorhandler.
pf
>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.
(On an infant's shirt): Already smarter than Bush