I occasionally crashed and burned with this as the VFP6 message window and can't seem to find anything in the code, rebuilds fine, and I can't get it to happen now?
Fatal Error
Exception Code=C0000005
Called from: dexform.smclabel10.clickline1
Called from: mainpanel.smclabel6.clickline1
. . .I put in the startup an error handler. . .
ON ERROR DO errhand WITH;
ERROR(), MESSAGE(), MESSAGE(1),PROGRAM(),LINENO()
ON ERROR
and in the procedure code. . .
PROCEDURE errhand
PARAMETER merror, mess, mess1, mprog, mlineno
CLEAR
? 'Error number:' +LTRIM(STR(merror))
? 'Error message: ' + mess
? 'Line of code with error: ' + mess1
? 'Line number of error: ' + LTRIM(STR(mlineno))
? 'Program with error: ' + mprog
I can't get it to fall in the pothole since I put this in and it has me dithering. Also, I got a "push/pump" error or something similar to that. Not happy at the time I rebooted and didn't write it down. I couldn't find anything in the "help index" or any of the manuals on the pummp/push error and thought they may be related.
Any comments or thoughts?
[sig][/sig]
Fatal Error
Exception Code=C0000005
Called from: dexform.smclabel10.clickline1
Called from: mainpanel.smclabel6.clickline1
. . .I put in the startup an error handler. . .
ON ERROR DO errhand WITH;
ERROR(), MESSAGE(), MESSAGE(1),PROGRAM(),LINENO()
ON ERROR
and in the procedure code. . .
PROCEDURE errhand
PARAMETER merror, mess, mess1, mprog, mlineno
CLEAR
? 'Error number:' +LTRIM(STR(merror))
? 'Error message: ' + mess
? 'Line of code with error: ' + mess1
? 'Line number of error: ' + LTRIM(STR(mlineno))
? 'Program with error: ' + mprog
I can't get it to fall in the pothole since I put this in and it has me dithering. Also, I got a "push/pump" error or something similar to that. Not happy at the time I rebooted and didn't write it down. I couldn't find anything in the "help index" or any of the manuals on the pummp/push error and thought they may be related.
Any comments or thoughts?
[sig][/sig]