4D View v14PV ON ERROR |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v14
PV ON ERROR
|
PV ON ERROR ( method ) | ||||||||
Parameter | Type | Description | ||||||
method | String |
![]() |
4D View method | |||||
The PV ON ERROR command installs the method to manage 4D View errors.
This interruption method is executed every time an error occurs during a 4D View command call, thereby allowing control of eventual execution errors.
The called method receives 3 parameters:
$1 : 4D View area reference
$2 : Error number
$3 : Error text
The numbers and the labels of errors generated by 4D View are provided in Appendix A, List of 4D View error codes.
To uninstall method, simply call the PV ON ERROR command with an empty string as a parameter.
Install an error management method for the active 4D View area.
If(PV Get on error method#"ErrMethMan") `Manager not installed?
PV ON ERROR("ErrMethMan") `Call method
End if
The code for "ErrMethMan" is as follows :
Product: 4D View
Theme: PV Area
Number:
15860
Created: 4D View 6.8
Appendix A, List of 4D View error codes
PV GET LAST ERROR
PV Get on error method
4D View Language ( 4D View v11.4)
4D View Language ( 4D View v12)
4D View Language ( 4D v13)
4D View Language ( 4D View v14 R2)
4D View Language ( 4D View v14)
4D View Language ( 4D View v14 R3)
4D View Language ( 4D View v14 R4)