It's error number 107 (Operator/Operand type mismatch) that is trapped in debug mode. EXE mode doesn't show me anything, no dialog box, no vfp default error handler. Nada.
Thanks!
>Not all errors in VFP are trapable. What error number and message do you get? Does it shows VFP error dialog?
>
>>I'm having a weird issue with my error handler in VFP 7. It works perfectly (logs the errors and sends me an email) while I'm running in APP mode and debugging, but it's completely ignored when running in EXE mode.
>>
>>I've searched the internet and can't find a good reason or fix on why this would be happening. Hopefully it's not something I did or didn't do :)
>>
>>I have this code in my main.prg
>>
>> ON ERROR DO error2 WITH ;
>> ERROR( ), MESSAGE( ), MESSAGE(1), PROGRAM( ), LINENO(1), DBF()
>>
>>I've put in messageboxes to verify that I don't clear out the ON ERROR anywhere, and it doesn't. It doesn't even hit the error event in the form.
>>
"In three words I can sum up everything I've learned about life : it goes on." - R. Frost
Amanda Brown
Supervisor/Programmer