| 4D View v15PV ON ERROR | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D View v15
 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 ifThe code for "ErrMethMan" is as follows:
									Appendix A, List of 4D View error codes
									
									PV GET LAST ERROR
									
									PV Get on error method
									
	Product:  4D View
	Theme:  PV Area
	Number:  
        15860
        
        
        
	
	Created:  4D View 6.8
	
	
	
	
	
	
	
	
	4D View Language ( 4D View v15)
	
	
	
	
	
	
	
 Add a comment
Add a comment