AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Administrar bases de datos / HFSQL / Variables WLanguage
  • Value of H.ErrIgnore
  • Example
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Specifies the mode for processing the errors:
  • the errors are processed by WINDEV,
  • the errors are processed by the program.
Warning For programming errors (called "Serious Errors"), the H.ErrIgnore variable has no effect. These errors must not be ignored because the execution of the program would come to nothing. These errors are presented in HFSQL errors.
Observaciones

Value of H.ErrIgnore

If the H.ErrIgnore variable is set to True:
  • the errors (that can be ignored) must be processed in the program, they do not stop the execution of the program. If an error occurs, the requested function is not run.
  • the global H.Error variable returns the error number to the program in order for the error to be processed.
If the H.ErrIgnore variable is set to False (default value):
  • All the runtime errors automatically display the error number, the associated error message and the value of the invalid parameters.
  • The execution of the current program is stopped, pressing a keyboard key is used to exit from the program.

Example

The following example is used to check the existence of a data file. If the data file does not exist, it is created ; if it exists, the program continues to run.
// In order for the execution not to be stopped if an error occurs
H.ErrIgnore = True
HOpen(CUSTOMER)
H.ErrIgnore = False
IF H.Error = 3 THEN HCreation(CUSTOMER)
...
Componente: wd300hf.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local