PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
<Source>.ViewToFile (Function)
In french: <Source>.VueVersFichier
HFSQLAvailable only with this kind of connection
Saves the modifications performed in a HFSQL view (by <Source>.Modify, <Source>.Delete or <Source>.Cross) 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 call to <Source>.ViewToFile, the records are unlocked in the view source file. 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.
Example
// Saves the modifications of Customer34 view
// into Customer file
Customer34.ViewToFile()
WINDEVWEBDEV - Server codeWindowsWindows MobileHFSQL
// Check the status report of HViewToFile
IF Customer13.ViewToFile() <> True THEN
Error("Unable to save the modifications performed on the view")
END
Syntax
<Result> = <Source>.ViewToFile()
<Result>: Boolean
  • True if the view was transferred into the data file,
  • False otherwise. HError returns more details about the problem.
<Source>: Type of Source
Name of view used.
Remarks
If an error occurs when updating the data file, HError is used to identify the records that caused the problem. Simply browse the view again and check HError on each record in the view.
Component : wd250hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment