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
<Connection>.InfoLock (Function)
In french: <Connexion>.InfoBlocage
HFSQL Client/ServerAvailable only with this kind of connection
Returns information about the lock set on a data file, on one or all the records in a data file.
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 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.
Versions 22 and later
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.
New in version 22
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.
Android This function is now available for Android applications.
Example
CSConnection is Connection
LockList is string
...
// Lists all the locks set on the data files of CSConnection
LockList = CSConnection.InfoLock()
// Lists all the locks set on the Customer.fic data file of CSConnection
LockList = CSConnection.InfoLock(".\customer.fic")

Information about the locks set on a data file identified by its connection Hide the details

<Result> = <Connection>.InfoLock([<Data file path>] [, <Record number>])
<Result>: Character string
Name of data file used.
<Connection>: Control name
Number of the record for which the lock information is requested.
If this parameter is not specified, <Connection>.InfoLock lists all the locks of the data file.
<Data file path>: Optional character string (with quotes)
Full path of the data file, relative to the database defined by <Connection name>.
This parameter is ignored if <Connection name> corresponds to the logical name of a data file.
If this parameter is not specified, all the locks set on all the data files of the database are returned.
<Record number>: Optional integer
Number of the record for which the lock information is requested.
If this parameter is not specified, <Connection>.InfoLock lists all the locks of the data file.
Component : wd250hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment