ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / WLanguage variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.
Caution: This value is not taken into account in HFSQL Classic when the lock was implemented by another HFSQL context of 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" must not be used: no modification is performed.
  • 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: wd290hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help