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
Unlocks the records of a data file:
The data file can also be unlocked by closing it (<Source>.Close).
Remark: <Source>.UnlockFile cannot be used to unlock a data file locked by another session or by another program. We advise you to unlock a data file as soon as possible in order for the other sessions to be able to access this data file.
AndroidAndroid Widget Windows MobileJava This function can be used with HFSQL Client/Server data files.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 19 and later
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
WINDEVJava This function is now available for the Java applications.
New in version 19
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
WINDEVJava This function is now available for the Java applications.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
WINDEVJava This function is now available for the Java 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.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Lock
Customer.LockFile(hLockReadWrite)
// Modify the file
...
// Unlock
Customer.UnlockFile()
Syntax
<Result> = <Source>.UnlockFile()
<Result>: Boolean
  • True if the data file was unlocked,
  • False if a problem occurred (the data file is not locked, ...). HError is used to identify the error.
<Source>: Type corresponding to the specified source
Name of data file used.
Remarks
<Source>.UnlockFile has no effect if:
  • the data file is in single-user mode (see <Source>.Mode).
  • the data file is not locked.
  • the data file was locked by another program.
Component : wd250hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment