Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error handling
Message
From
01/08/2018 11:51:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Error handling
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01661403
Message ID:
01661403
Views:
123
Hi how are you, I need your help, I'm trying to capture the uncontrolled errors of my application, at the level of the captures forms and I send to close the screen without problems, but when it is at the class level (I have a main class) capture the errors but the form does not close
lparameters nerror, cmethod, nline
vmatxr=aerror(_matrixz)
thisform.megaclase1.mensajes2('se ha producido un error inesperado en el sistema!!!'+CHR(13)+'error.............:('+alltrim(_matrixz(2))+')'+chr(13)+'METODO............:'+alltrim(cmethod)+CHR(13)+'linea con error...:'+alltrim(str(nline))+chr(13)+'esta pantalla se cerrará, favor notificar al departamento de sistema, gracias',1)
thisform.release
return 0
thisform.refresh
Jose Manuel Ramirez
Reply
Map
View

Click here to load this message in the networking platform