PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

This content comes from an automatic translation.
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
Allows you to find out:
  • whether the content of a data file was modified.
  • whether the content of a data file used by a query was modified.
This function is used to detect the modifications made to a data file shared among several programs. If a modification is detected, you have the ability to refresh the data displayed in the window or in the page.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications (for the HFSQL data files).
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications (for the HFSQL data files).
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications (for the HFSQL data files).
Universal Windows 10 App This function is now available in Windows Store apps mode.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 19 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 19
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
VerNum = HVersion(CUSTOMER)
// First evaluation of the file version
VerNum is int
VerNum = HVersion(CUSTOMER)
// Processes
// Second evaluation of the file version
IF VerNum <> HVersion(CUSTOMER) THEN
Info("The CUSTOMER file was modified.")
END
Syntax
<Result> = HVersion([<Data file or query>])
<Result>: Integer
Version number of the data file.
OLE DBNative Connectors (Native Accesses) The version number is always equal to 0.
<Data file or query>: Optional character string (with or without quotes)
  • Name of data file used.
  • Name of the query used.
  • If this parameter is not specified, HVersion handles the last data file (or the last query) used.
Java The data file used must be a HFSQL data file. Otherwise, the version number is always equal to 0.
Remarks
When creating the data file, the version number is initialized to 1. This number is incremented whenever the file content is modified (HAdd, HWrite, HModify, TableSave, TableDelete, HFree, HDelete, HCross). The number is incremented if the function is successful.
Remark: HVersion can be used on indexed or non-indexed data files.
Component : wd250hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment