PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HViewToFile (Function)
In french: HVueVersFichier
HFSQLAvailable only with this kind of connection
Warning
From version 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.
Remark: This operation can be performed only if the view was created with the hViewLocking constant (which means that the records imported into the view have been locked in the data file). After the HViewToFilefunction is executed, the records are unlocked in the source file of the. Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 22 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
iPhone/iPad This function is now available for iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
// Enregistre les modification de la vue Client34
// dans le fichier Client
HViewToFile(Client34)
WINDEVWEBDEV - Server codeWindowsHFSQL
// Test du compte-rendu de la fonction HVueVersFichier
IF HViewToFile(Client13) <> True THEN
Error("Impossible d'enregistrer les modifications effectuées sur la vue")
END
Syntax
<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, the HViewToFile function will handle the last view used by an HFSQL function (function starting with the letter H).
Remarks
If an error occurs during the of the data file update, to find out which records had problems and what the problems were, use the HError. Just browse the view again and test the HError function on each Record in the view.
Component: wd270hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment