Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Rdd Ads read me - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

ADSLocking()

Turns on/off the Advantage proprietary locking mode
---------------------------------------------------------------------------------

 Syntax

        ADSLocking( <lMode> ) --> lPriorSetting  

 Arguments

        <lMode>      .T. to use the Advantage proprietary locking mode 
                  (this is the default setting if a remote server is used)
                  or pass .F. to use "compatibility" locking.


 Returns

        <lPriorSetting>     .T. if prior setting was for the 
                  proprietary mode.

 Description

      See ACE.HLP for full details about the Advantage Database Server.
      The Advantage Database Server has a fast Proprietary locking mode
      that  is more efficient than traditional network locking. It is only
      available  when using the remote server (not the local server).

      If a file is opened in the proprietary mode, other applications
      cannot  open it in a "write" mode. So if non-Advantage applications
      need  concurrent access to the data files, use the Compatibility
      locking mode  by calling  ADSLocking( .F. ).

      ADSLocking() is a Get/Set function for the locking mode. It affects
      files at the time they are opened. So when a data  file is opened,
      the current setting is used for that file until it is  closed.
      Different files can have different locking modes by changing  the
      setting before opening a second file.

Status

      Ready

 Compliance

      Harbour extension

 Platforms

      Windows 32-bit

 Files

      Library is RddAds  Header is ads.ch



See Also: ADSRightsCheck()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson