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]

ADSKeyCount()

Retrieve the number of keys in a specified index
---------------------------------------------------------------------------------

 Syntax

        ADSKeyCount([<xTag>], <cIgnoredIndexFile>, [<nFilterOption>]) -->
      nKeyCount

 Arguments

        <xTag>       Numeric order number OR index tag name. Default is 
                  current index.

        <cIgnoredIndexFile>     This parameter is not processed. In 
                  other Harbour RDDs, the second parameter to
                  "ordKeyCount" takes a second argument to identify  a
                  particular Index File in cases where two files are open
                  that contain  orders with the same name. The ADS driver
                  does not support this and  will select the first order
                  with the requested name. To stay consistent  with other
                  RDDs, therefore(),the second parameter is reserved and
                  the  <nFilterOption> is passed as a third parameter.

        <nFilterOption>   Indicates if filters and/or scopes are to be 
                  respected if set.

       Options  are defined in ads.ch:      

      +-------------------------------------------------+
      | ADS_RESPECTFILTERS | Respect filters and scopes |
      | ADS_IGNOREFILTERS  | Ignore filters and scopes  |
      | ADS_RESPECTSCOPES  | Respect scopes only        |
      +-------------------------------------------------+

 Returns

        <nKeyCount>    The number of keys within the current index.    

 Description

      See ACE.HLP for full details about the Advantage Database Server.

Status

      Ready

 Compliance

      Harbour extension

 Platforms

      Windows 32-bit

 Files

      Library is RddAds  Header is ads.ch



See Also: ADSKeyNo() ADSGetRelKeyPos()

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