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]

ADSKeyNo()

Get the logical key number of the current record in the given index
---------------------------------------------------------------------------------

 Syntax

        ADSKeyNo([<xTag>], [<nFilterOption>]) --> nKeyNo  

 Arguments

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

        <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

        <nKeyNo>     The logical key number of the current record in 
                  the given index.

 Description

      See ACE.HLP for full details about the Advantage Database
      Wrapper for AdsGetKeyNum.
      This function may be slow on a large database with
      ADS_RESPECTFILTERS set because it walks through the keys to get the
      current position.  Compare to ADSGetRelKeyPos().

Status

      Ready

 Compliance

      Harbour extension

 Platforms

      Windows 32-bit

 Files

      Library is RddAds  Header is ads.ch



See Also: ADSKeyCount() ADSGetRelKeyPos()

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