ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / WLanguage variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
H.NbRetry (Variable)
In french: H.NbEssais
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
Indicates the number of attempts to lock the data file or the record before giving control back to the program. This information applies to all data files.
Indeed, the data file or the record to lock may have been locked by another program for a few seconds only. Therefore, it may be interesting to repeat the lock request several times.
H.NbRetry can only be used in multi-user mode.
Warning This value is not taken into account in HFSQL Classic when the block has been set by another HFSQL context in the same application. This case may occur when two threads are being used.
Remarks
  • H.NbRetry is equal to 50 by default.
  • The value of H.NbRetry can be modified as many times as necessary, according to the types of locks.
  • The value "0" should not be used: no modification is made.
  • The value "-1" means that there is a very important number of repeated lock attempts. If this option is selected, you must necessarily prevent from the risks of deadlock.
  • For any negative value (other than -1), no modification is performed.
  • The value that must be assigned to H.NbRetry depends on the network speed. The faster the network is, the less the value of H.NbRetry will be.
Component: wd300hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/23/2024

Send a report | Local help