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 / Funciones HFSQL
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
Advertencia
A partir de la versión 20, SQL views and the materialized views are available.
The views handled by this function correspond to the former view mechanism. They do not correspond to SQL views or to materialized views.
Saves the modifications performed in an HFSQL view (by HModify, HDelete or HCross) in the corresponding data file.
Note: This operation can only be performed if the view has been created with the constant hVueBlocage (i.e. records imported into the view have been blocked in the data file).. After the call to HViewToFile, the records are unlocked in the view source file.
// Saves the modifications of Customer34 view
// into Customer file
HViewToFile(Customer34)
WINDEVWEBDEV - Código ServidorWindowsHFSQL Classic
// Check the status report of HViewToFile
IF HViewToFile(Customer13) <> True THEN
	Error("Unable to save the modifications performed on the view")
END
Sintaxis
<Result> = HViewToFile(<View>)
<Result>: Boolean
  • True if the view was transferred into the data file,
  • False otherwise. HError returns more details about the problem.
<View>: Character string
Name of view used. If this name is not specified, HViewToFile will handle the last view used by an HFSQL function (function starting with "H").
Observaciones
If an error occurs when updating the data file, HError is used to identify the records that caused the problem. Simply loop through the view again and run HError on each record in the view.
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: 25/03/2025

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